Add SteamCMD platform type flag to fix installation

- Added +@sSteamCmdForcePlatformType linux to install and update scripts
- Added retry logic for failed installations
This commit is contained in:
Vish
2026-01-19 07:05:59 +00:00
parent 99868c9961
commit dd7759027d
2 changed files with 14 additions and 2 deletions

View File

@@ -42,7 +42,8 @@ fi
# Update Garry's Mod Server
log_info "Updating Garry's Mod server..."
cd "$STEAMCMD_DIR"
./steamcmd.sh +force_install_dir "$SERVER_DIR" \
./steamcmd.sh +@sSteamCmdForcePlatformType linux \
+force_install_dir "$SERVER_DIR" \
+login anonymous \
+app_update 4020 validate \
+quit