Compare commits

...

2 Commits

2 changed files with 12 additions and 1 deletions

View File

@ -37,6 +37,17 @@ fi
mv ${TMPDIR:-/tmp}/LibreQuake/lq1 /opt/fteqw
rm -rf ${TMPDIR:-/tmp}/LibreQuake
# Compile the maps
curl --location 'https://github.com/ericwa/ericw-tools/releases/download/2.0.0-alpha6/ericw-tools-2.0.0-alpha6-Linux.zip' > /tmp/ericw-tools.zip
unzip -o -d ${TMPDIR:-/tmp}/ericw-tools ${TMPDIR:-/tmp}/ericw-tools.zip
rm /tmp/ericw-tools.zip
cd /opt/fteqw/lq1/maps
./make.sh -m QBSP_PATH="/tmp/ericw-tools/qbsp" LIGHT_PATH="/tmp/ericw-tools/light" VIS_PATH="/tmp/ericw-tools//vis"
cd -
rm -rf /tmp/ericw-tools
# Compile progs.dat
curl --location 'https://www.fteqcc.org/dl/fteqcc_linux64.zip' > /opt/fteqw/ftecc_linux64.zip
unzip -o -d /opt/fteqw /opt/fteqw/ftecc_linux64.zip fteqcc64
rm /opt/fteqw/ftecc_linux64.zip

View File

@ -68,7 +68,7 @@ After=network.target
Conflicts=wasted.service
[Service]
ExecStart=${stk_dir}/bin/supertuxkart --server-config=/etc/supertuxkart/supertuxkart.xml --lan-server=onFOSS
ExecStart=${stk_dir}/run_game.sh --server-config=/etc/supertuxkart/supertuxkart.xml --lan-server=onFOSS
Restart=on-failure
User=${systemuser}