summarylogtreecommitdiffstats
path: root/winbox64
blob: 94e1900143142fe4d528e47e918b2395df5bed79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
if [ -d "$HOME/.winbox" ]; then
    export WINEPREFIX="$HOME/.winbox/wine"
else
    export WINEPREFIX="${WINBOX_HOME:-"${XDG_DATA_HOME:-"${HOME}/.local/share"}/winbox"}/wine"
fi
export WINEARCH=win64
export WINEDLLOVERRIDES="mscoree=" # disable mono
export WINEDEBUG=-all
if [ ! -d "$WINEPREFIX" ] ; then
    mkdir -p "$WINEPREFIX"
    wineboot -u
fi

wine64 /opt/winbox64/winbox64.exe "$@"