Last change
on this file since 3 was 1, checked in by alloc, 11 years ago |
Initial commit
|
-
Property svn:executable
set to
*
|
File size:
719 bytes
|
Rev | Line | |
---|
[1] | 1 | #!/bin/bash
|
---|
| 2 | . /etc/7dtd.conf
|
---|
| 3 |
|
---|
| 4 | if [ ! -e $STEAMCMD_ROOT ]; then
|
---|
| 5 | mkdir $STEAMCMD_ROOT
|
---|
| 6 | cd /tmp
|
---|
| 7 | wget http://media.steampowered.com/installer/steamcmd_linux.tar.gz
|
---|
| 8 | tar -xvzf steamcmd_linux.tar.gz -C $STEAMCMD_ROOT
|
---|
| 9 | cd $STEAMCMD_ROOT
|
---|
| 10 | ./steamcmd.sh +quit
|
---|
| 11 | fi
|
---|
| 12 |
|
---|
| 13 | cd $STEAMCMD_ROOT
|
---|
| 14 |
|
---|
| 15 | ./steamcmd.sh +@sSteamCmdForcePlatformType windows +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_ROOT +app_update 251570 validate +quit
|
---|
| 16 | chown $SDTD_USER.$SDTD_GROUP -R $SDTD_ROOT
|
---|
| 17 |
|
---|
| 18 | cp $SDTD_ROOT/Install/32bit/7DaysToDie.exe $SDTD_ROOT/
|
---|
| 19 | cp $SDTD_ROOT/Install/32bit/mono.dll $SDTD_ROOT/7DaysToDie_Data/Mono/
|
---|
| 20 | cp $SDTD_ROOT/Install/32bit/SteamworksManaged.dll $SDTD_ROOT/7DaysToDie_Data/Managed/
|
---|
| 21 | cp $SDTD_ROOT/../msvcr100.dll $SDTD_ROOT/
|
---|
Note:
See
TracBrowser
for help on using the repository browser.