mirror of
https://github.com/NATroutter/egg-hytale.git
synced 2026-03-01 11:21:13 +03:00
Added check on start script to check if the server files where downloaded or not
This commit is contained in:
7
start.sh
7
start.sh
@@ -40,6 +40,13 @@ if [ "${AUTOMATIC_UPDATE}" = "1" ]; then
|
||||
$DOWNLOADER
|
||||
fi
|
||||
|
||||
# Check if server files were downloaded correctly
|
||||
if [ ! -f "HytaleServer.jar" ]; then
|
||||
echo "Error: HytaleServer.jar not found!"
|
||||
echo "Server files were not downloaded correctly."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Obtain authentication tokens
|
||||
echo "Obtaining authentication tokens..."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user