summarylogtreecommitdiffstats
path: root/project-sushi
blob: 5cfdd2e5ea69c1b8f74607cf63c5e9436cfd178a (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
export LOCALPATH=${XDG_DATA_HOME:-$HOME/.local/share}/project-sushi
export WINEPREFIX="$LOCALPATH"/wine
export WINEDLLOVERRIDES="mscoree,mshtml="
if [ ! -d "$WINEPREFIX" ] ; then
   mkdir -p "$WINEPREFIX" || exit 1
   ln -s /opt/project-sushi/project-sushi.exe "$LOCALPATH" || exit 1
   ln -s /opt/project-sushi/data.win "$LOCALPATH" || exit 1
   cp /opt/project-sushi/options.ini "$LOCALPATH" || exit 1
fi
WINEDEBUG=-all wine "$LOCALPATH"/project-sushi.exe "$@"