summarylogtreecommitdiffstats
path: root/holocure
blob: 45b6f76b19a819e0d6af142f37f36212f9130f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

set -euo pipefail

HOLOCURE_LOCAL_DIR="${XDG_DATA_HOME:-$HOME/.local/state}"/holocure
export WINEPREFIX="$HOLOCURE_LOCAL_DIR"/wine

if [ ! -d "$HOLOCURE_LOCAL_DIR" ] ; then
   mkdir -p "$WINEPREFIX"
   wineboot -u
fi
WINEDEBUG=-all wine /usr/share/holocure/HoloCure.exe "$@"