- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/commands/updateengine.sh
r20 r28 1 1 #!/bin/bash 2 # Version 53 2 4 3 # Tries to start the 7dtd instance. … … 13 12 done 14 13 15 if [ ! -e $S TEAMCMD_ROOT]; then16 mkdir $S TEAMCMD_ROOT14 if [ ! -e $SDTD_BASE/steamcmd ]; then 15 mkdir $SDTD_BASE/steamcmd 17 16 cd /tmp 18 17 wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz 19 tar -xvzf steamcmd_linux.tar.gz -C $S TEAMCMD_ROOT20 cd $S TEAMCMD_ROOT18 tar -xvzf steamcmd_linux.tar.gz -C $SDTD_BASE/steamcmd 19 cd $SDTD_BASE/steamcmd 21 20 ./steamcmd.sh +quit 22 21 fi 23 22 24 cd $S TEAMCMD_ROOT23 cd $SDTD_BASE/steamcmd 25 24 26 25 ./steamcmd.sh +@sSteamCmdForcePlatformType windows +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_BASE/engine "+app_update 251570" validate +quit … … 30 29 cp $SDTD_BASE/engine/Install/32bit/mono.dll $SDTD_BASE/engine/7DaysToDie_Data/Mono/ 31 30 cp $SDTD_BASE/engine/Install/32bit/SteamworksManaged.dll $SDTD_BASE/engine/7DaysToDie_Data/Managed/ 32 cp $SDTD_BASE/msvcr100.dll $SDTD_BASE/engine/33 31 } 34 32
Note:
See TracChangeset
for help on using the changeset viewer.