Update start-server.sh

This commit is contained in:
2019-05-07 16:06:15 +02:00
committed by GitHub
parent 0d503a3126
commit 87c0893b7a

View File

@@ -21,12 +21,14 @@ echo "---Update Server---"
if [ "${USERNAME}" == "" ]; then
if [ "${VALIDATE}" == "true" ]; then
${STEAMCMD_DIR}/steamcmd.sh \
+@sSteamCmdForcePlatformType windows \
+login anonymous \
+force_install_dir ${SERVER_DIR} \
+app_update ${GAME_ID} validate \
+quit
else
${STEAMCMD_DIR}/steamcmd.sh \
+@sSteamCmdForcePlatformType windows \
+login anonymous \
+force_install_dir ${SERVER_DIR} \
+app_update ${GAME_ID} \
@@ -35,12 +37,14 @@ if [ "${USERNAME}" == "" ]; then
else
if [ "${VALIDATE}" == "true" ]; then
${STEAMCMD_DIR}/steamcmd.sh \
+@sSteamCmdForcePlatformType windows \
+login ${USERNAME} ${PASSWRD} \
+force_install_dir ${SERVER_DIR} \
+app_update ${GAME_ID} validate \
+quit
else
${STEAMCMD_DIR}/steamcmd.sh \
+@sSteamCmdForcePlatformType windows \
+login ${USERNAME} ${PASSWRD} \
+force_install_dir ${SERVER_DIR} \
+app_update ${GAME_ID} \