summarylogtreecommitdiffstats
path: root/stencyl
blob: e36d61a119005ac5dc6442b913ce138c6112c391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
LOCAL="$HOME/.local/share/stencyl"
if [ ! -d "$LOCAL" ]; then
    mkdir -p "$LOCAL"

    cd /usr/share/stencyl
    for f in *; do
        ln -s /usr/share/stencyl/"$f" "$LOCAL/$f"
    done

    rm -f "$LOCAL/games"
    mkdir -p "$LOCAL/games"
fi

cd "$LOCAL"
exec ./Stencyl "$@"