This commit is contained in:
2023-11-20 07:27:46 -06:00
parent 4b0a9ee901
commit cdf31ce541

View File

@@ -61,13 +61,23 @@ update_server() {
} }
update_game() { update_game() {
: msg "-------- UPDATING DAYZ GAME -------------------"
# steamcmd -tcp +login "$STEAM_USER" +app_update "$DAYZ_GAME_ID" +quit steamcmd -tcp \
+force_install_dir "$LOCAL_STOCK_GAME" \
+@sSteamCmdForcePlatformType windows \
+@ShutdownOnFailedCommand 1 \
+login "$STEAM_USER" \
+app_update "$DAYZ_GAME_ID" \
+quit
is_network_drive_mounted &&
do_sync "$LOCAL_STOCK_GAME"/ "$REMOTE_STOCK_GAME"
msg "-------- DONE UPDATING GAME -------------------"
} }
main() { main() {
update_server update_server
# update_game update_game
} }
main "$@" main "$@"