mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
install script example for RZD
This commit is contained in:
parent
a503633b36
commit
7263c13972
28
Tools/Install/InstallRyanZombies.cmd
Normal file
28
Tools/Install/InstallRyanZombies.cmd
Normal file
@ -0,0 +1,28 @@
|
||||
@ECHO OFF
|
||||
SET STEAMUN=admin@youremail.net
|
||||
SET STEAMPW=chamgeme
|
||||
SET ARMASVRPATH=C:\Arma3Server
|
||||
SET ARMAAPPID=107410
|
||||
|
||||
:: Use -mod line with quotes to support spaces in folder
|
||||
:: Example: -mod="@Epoch;@Zombies and Demons;"
|
||||
|
||||
:: Install Ryans Zombies and Demons
|
||||
|
||||
SET MODFOLDER=@Zombies and Demons
|
||||
SET ARMAWORKSHOPID=501966277
|
||||
|
||||
:: remove old folder
|
||||
rd /s/q "%ARMASVRPATH%\%MODFOLDER%"
|
||||
|
||||
:: 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%\%MODFOLDER%"
|
||||
|
||||
:: remove old bikey key
|
||||
del "%ARMASVRPATH%\Keys\RyanD.bikey"
|
||||
|
||||
:: copy latest bikey to server
|
||||
xcopy /s/e/y/q/i "%ARMASVRPATH%\%MODFOLDER%\Keys" "%ARMASVRPATH%\Keys"
|
Loading…
Reference in New Issue
Block a user