summarylogtreecommitdiffstats
path: root/winbox
blob: 90daf7e01b3efa40dcbe4cf5ff888692b012390c (plain)
1
2
3
4
5
6
7
8
9
10
11
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 "$@"