asdf
This commit is contained in:
@@ -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 "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user