summarylogtreecommitdiffstats
path: root/run.sh
blob: 87039f4a9298bf9338bd18dbedddd1640858e6a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e
mkdir -p ~/.slime-forest/playerdata/playerdata
cd ~/.slime-forest

for realf in /usr/share/slime-forest-demo/{exec.ver,images,maps,*.wad} ; do
  linkf=$(basename "$realf")
  test -e "$linkf" || ln -s "$realf" "$linkf"
done
test -e playerdata/data.ver || cp exec.ver playerdata/data.ver

nohup /usr/share/slime-forest-demo/jquest64 \
  < /dev/null > /dev/null 2> /dev/null