Add support for steamcmd app validation

This commit is contained in:
John Edwards 2024-02-22 12:11:30 +00:00
parent f1ffd92eff
commit d6cb895120
4 changed files with 17 additions and 1 deletions

View file

@ -5,9 +5,15 @@ mkdir -p "${STEAMAPPDIR}" || true
# Download Updates
if [[ "$STEAMAPPVALIDATE" -eq 1 ]]; then
VALIDATE="validate"
else
VALIDATE=""
fi
bash "${STEAMCMDDIR}/steamcmd.sh" +force_install_dir "${STEAMAPPDIR}" \
+login anonymous \
+app_update "${STEAMAPPID}" \
+app_update "${STEAMAPPID}" "${VALIDATE}"\
+quit
# steamclient.so fix