Update EmuHawkMono.sh
This commit is contained in:
parent
77a6e9c3ac
commit
e8f66570ad
|
@ -8,11 +8,14 @@ libpath=""
|
||||||
if [ "$(command -v lsb_release)" ]; then
|
if [ "$(command -v lsb_release)" ]; then
|
||||||
case "$(lsb_release -i | cut -c17- | tr -d "\n")" in
|
case "$(lsb_release -i | cut -c17- | tr -d "\n")" in
|
||||||
"Arch"|"ManjaroLinux") libpath="/usr/lib/wine";;
|
"Arch"|"ManjaroLinux") libpath="/usr/lib/wine";;
|
||||||
"Debian"|"Ubuntu"|"LinuxMint") libpath="/usr/lib/x86_64-linux-gnu/wine";;
|
"Debian"|"LinuxMint") libpath="/usr/lib/x86_64-linux-gnu/wine";;
|
||||||
|
"Ubuntu") libpath="/usr/lib/x86_64-linux-gnu/wine"; export MONO_WINFORMS_XIM_STYLE=disabled;; # see https://bugzilla.xamarin.com/show_bug.cgi?id=28047#c9
|
||||||
esac
|
esac
|
||||||
|
else
|
||||||
|
printf "Distro does not provide LSB release info API! (You've met with a terrible fate, haven't you?)\n"
|
||||||
fi
|
fi
|
||||||
if [ -z "$libpath" ]; then
|
if [ -z "$libpath" ]; then
|
||||||
printf "%s\n" "Unknown distro, assuming WINE library location is /usr/lib/wine..."
|
printf "%s\n" "Unknown distro, assuming WINE library location is /usr/lib/wine..."
|
||||||
libpath="/usr/lib/wine"
|
libpath="/usr/lib/wine"
|
||||||
fi
|
fi
|
||||||
LD_LIBRARY_PATH="$libpath" mono ./EmuHawk.exe
|
LD_LIBRARY_PATH="$libpath" mono ./EmuHawk.exe >EmuHawkMono_laststdout.txt
|
||||||
|
|
Loading…
Reference in New Issue