asdf
This commit is contained in:
@@ -61,13 +61,23 @@ update_server() {
|
||||
}
|
||||
|
||||
update_game() {
|
||||
:
|
||||
# steamcmd -tcp +login "$STEAM_USER" +app_update "$DAYZ_GAME_ID" +quit
|
||||
msg "-------- UPDATING DAYZ GAME -------------------"
|
||||
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() {
|
||||
update_server
|
||||
# update_game
|
||||
update_game
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
||||
Reference in New Issue
Block a user