mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
13 lines
533 B
Batchfile
13 lines
533 B
Batchfile
@ECHO OFF
|
|
SET STEAMUN=admin@youremail.net
|
|
SET STEAMPW=chamgeme
|
|
SET ARMASVRPATH=C:\Arma3Server
|
|
SET ARMAAPPID=107410
|
|
:: Workshop IDs: EpochExperimental = 455221958, Normal Epoch = 421839251
|
|
SET ARMAWORKSHOPID=455221958
|
|
:: remove mod folder
|
|
rd /s/q "%ARMASVRPATH%\@Epoch"
|
|
:: update workshop mod
|
|
START "" /WAIT steamcmd.exe +login %STEAMUN% %STEAMPW% +workshop_download_item %ARMAAPPID% %ARMAWORKSHOPID% +quit
|
|
:: copy files back to server
|
|
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\@Epoch" |