summarylogtreecommitdiffstats
path: root/lab3d-sdl.sh
blob: 3611d50229a70a38c2c8b3f8b08ce8ed14016b64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

echo "lab3d-sdl 3.0 launcher"

mkdir -p ~/.lab3d-sdl

# copy hires texture config to allow changing
if [ ! -f ~/.lab3d-sdl/wallparams.ini ]; then
  cp /usr/share/lab3d-sdl/wallparams.ini ~/.lab3d-sdl
fi

# run the game
cd ~/.lab3d-sdl && exec /usr/lib/lab3d-sdl/ken.bin "$@"