blob: b63f2dac277fa648b758291f90b5939e2f0430b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
export WINEPREFIX="$HOME/.86box/wine"
if [ ! -d "$HOME"/.86box ] ; then
mkdir -p "$HOME"/.86box/wine || exit 1
ln -s /usr/share/86box/86Box.exe "$HOME"/.86box/86Box.exe || exit 1
ln -s /usr/share/86box/discord_game_sdk.dll "$HOME"/.86box/discord_game_sdk.dll || exit 1
ln -s /usr/share/86box/freetype.dll "$HOME"/.86box/freetype.dll || exit 1
ln -s /usr/share/86box/gsdll32.dll "$HOME"/.86box/gsdll32.dll || exit 1
ln -s /usr/share/86box/libfluidsynth.dll "$HOME"/.86box/libfluidsynth.dll || exit 1
fi
if [ ! -f "$HOME"/.86box/wine/drive_c/windows/syswow64/vcruntime140.dll ]; then
if [ -n "`whereis zenity|grep bin`" ]; then
zenity --info --title '86Box' --text 'Installing wine dependencies.\n\nThe process may take a few minutes'
fi
winetricks -q vcrun2017
winetricks settings win7
fi
cd ~/.86box
wine 86Box.exe "$@"
|