Update InstallEpoch.cmd

This commit is contained in:
vbawol 2015-07-21 17:58:49 -05:00
parent 94e45f94d1
commit 2d58078960

View File

@ -7,7 +7,9 @@ SET ARMAAPPID=107410
SET ARMAWORKSHOPID=455221958
:: remove mod folder
rd /s/q "%ARMASVRPATH%\@Epoch"
:: remove cache C:\Users\Administrator\Downloads\steamcmd\steamapps\workshop
del "steamapps\workshop\appworkshop_%ARMAAPPID%.acf"
:: 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"
xcopy /s/e/y/q/i "steamapps\workshop\content\%ARMAAPPID%\%ARMAWORKSHOPID%" "%ARMASVRPATH%\@Epoch"