Skip to content

Commit

Permalink
Delete app manifest when updating to force Steam to update (workaroun…
Browse files Browse the repository at this point in the history
…d for #371, #374, #377, thanks @sbiasco)
  • Loading branch information
wolveix committed Dec 4, 2024
1 parent f7567ff commit 2ae99c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ae99c6

Please sign in to comment.