mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
15 lines
642 B
Batchfile
15 lines
642 B
Batchfile
@ECHO OFF
|
|
SET STEAMUN=admin@youremail.net
|
|
SET STEAMPW=changeme
|
|
SET ARMASVRPATH=C:\Arma3Server
|
|
SET ARMAAPPID=107410
|
|
SET ARMAWORKSHOPID=558243173
|
|
:: update workshop mod
|
|
START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% validate +quit
|
|
:: copy files back to server
|
|
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\@EpochHive"
|
|
:: copy battleye files to live
|
|
xcopy /s/e/y/q/i "%ARMASVRPATH%\@EpochHive\sc\BattlEye" "%ARMASVRPATH%\SC\BattlEye"
|
|
:: update mission files
|
|
xcopy /s/e/y/q/i "%ARMASVRPATH%\@EpochHive\MPMissions" "%ARMASVRPATH%\MPMissions"
|