14 lines
719 B
Bash
14 lines
719 B
Bash
|
export winVer="win7"
|
||
|
export bottle="draconis"
|
||
|
export WINEPREFIX="$HOME/.local/wine/draconis"
|
||
|
# Only works in conjunction with esp pinball extreme.
|
||
|
if ! [ -f "$HOME/.local/wine/$bottle/drive_c/Program Files/Draconis Entertainment/ESP Pinball Xtreme/pbx.exe" ] ; then
|
||
|
echo "Error: You need to install ESP Pinball Extreme first to use this game. Please do so before continuing." >&2
|
||
|
exit 1
|
||
|
fi
|
||
|
download "http://download.dracoent.com/Windows/classic/PP1Setup.exe"
|
||
|
cp -v "${cache}/PP1Setup.exe" "$WINEPREFIX/drive_c/windows/temp/"
|
||
|
wine "c:/windows/temp/PP1Setup.exe" /sp- /silent
|
||
|
rm -fv "$WINEPREFIX/drive_c/windows/temp/PP1Setup.exe"
|
||
|
add_launcher "c:\Program Files\Draconis Entertainment\ESP Pinball Xtreme\pbx.exe"
|