From 2ae99c642c3c8ca82bb73be20deb46e7608d71ad Mon Sep 17 00:00:00 2001 From: Robert Thomas <31854736+wolveix@users.noreply.github.com> Date: Wed, 4 Dec 2024 13:21:45 +0000 Subject: [PATCH] Delete app manifest when updating to force Steam to update (workaround for #371, #374, #377, thanks @sbiasco) --- run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run.sh b/run.sh index b4b1e1c..32249d7 100755 --- a/run.sh +++ b/run.sh @@ -82,6 +82,10 @@ if [[ "${SKIPUPDATE,,}" != "true" ]]; then fi printf "\\nDownloading the latest version of the game...\\n" + if [ -f "/config/gamefiles/steamapps/appmanifest_1690800.acf" ]; then + printf "\\nRemoving the app manifest to force Steam to check for an update...\\n" + rm "/config/gamefiles/steamapps/appmanifest_1690800.acf" || true + fi steamcmd +force_install_dir /config/gamefiles +login anonymous +app_update "$STEAMAPPID" -beta "$STEAMBETAFLAG" validate +quit cp -r /home/steam/.steam/steam/logs/* "/config/logs/steam" || printf "Failed to store Steam logs\\n" else