diff options
Diffstat (limited to 'games-puzzle/blue-prince-bin/files')
| -rw-r--r-- | games-puzzle/blue-prince-bin/files/launcher.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/games-puzzle/blue-prince-bin/files/launcher.sh b/games-puzzle/blue-prince-bin/files/launcher.sh new file mode 100644 index 0000000..5063048 --- /dev/null +++ b/games-puzzle/blue-prince-bin/files/launcher.sh @@ -0,0 +1,12 @@ +#!/bin/sh +export WINEPREFIX="${XDG_STATE_HOME:-${HOME}/.local/state}/blue-prince/wineprefix" + +if ! [ -d "${WINEPREFIX}" ]; then + mkdir -p "${WINEPREFIX}" + wine-vanilla rundll32 # init the prefix + wineserver-vanilla -w + setup_dxvk.sh install --symlink +fi + +cd /opt/blue-prince && +exec wine-vanilla 'BLUE PRINCE.exe' "$@" |
