diff options
author | nycex | 2020-02-24 14:05:09 +0100 |
---|---|---|
committer | nycex | 2020-02-24 14:06:21 +0100 |
commit | 6eccc14bcaaca2efc2ad13d5f5f6262d17e7abca (patch) | |
tree | 083c7d4c5af22fe67e2315f9ab759309bf060b1b /winbox | |
download | aur-6eccc14bcaaca2efc2ad13d5f5f6262d17e7abca.tar.gz |
initial commit
Diffstat (limited to 'winbox')
-rw-r--r-- | winbox | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/winbox b/winbox new file mode 100644 index 000000000000..90daf7e01b3e --- /dev/null +++ b/winbox @@ -0,0 +1,12 @@ +#!/bin/sh + +export WINEPREFIX="${WINBOX_HOME:-"${XDG_DATA_HOME:-"${HOME}/.local/share"}/winbox"}/wine" +export WINEARCH=win64 +export WINEDLLOVERRIDES="mscoree=" # disable mono +export WINEDEBUG=-all +if [ ! -d "${WINEPREFIX}" ] ; then + mkdir -p "${WINEPREFIX}" + wineboot -u +fi + +wine /usr/share/winbox/winbox.exe "$@" |