summarylogtreecommitdiffstats
path: root/rustadmin
blob: f8b6b7c880fbbfce8f1bf04bdadf481feb23d2d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
export WINEPREFIX="$HOME"/.rustadmin/wine
export WINEARCH=win64
export WINEDLLOVERRIDES="mscoree=" # disable mono
export WINEDEBUG=-all
if [ ! -d "$HOME"/.rustadmin ] ; then
   mkdir -p "$HOME"/.rustadmin/wine
   wineboot -u
   cp -r /usr/share/rustadmin "$HOME"/.rustadmin
fi

wine "$HOME"/.rustadmin/rustadmin/RustAdmin.exe "$@"