Improved Finger Panic and other xdotool based installers.

This commit is contained in:
Storm Dragon 2020-11-20 15:21:18 -05:00
parent e4a815c7e3
commit 7254b70112

View File

@ -483,11 +483,9 @@ case "${game}" in
"Christmas WhoopAss")
install_wine_bottle vb6run dx8vb
download "https://www.agarchive.net/games/draconis/christmas%20whoopass%20setup.exe"
if command -v xdotools &> /dev/null ; then
wine "${cache}/christmas whoopass setup.exe" /silent | xdotool sleep 10 key alt+y --clearmodifiers
else
wine "${cache}/christmas whoopass setup.exe" /silent
fi
wine "${cache}/christmas whoopass setup.exe" /silent &
xdotool sleep 10 key alt+y --clearmodifiers 2> /dev/null
wineserver -w
add_launcher "c:\Program Files\Draconis Entertainment\Christmas Whoop Ass\wa.exe"
;;
"Crazy Party")
@ -522,11 +520,9 @@ case "${game}" in
"Finger Panic")
install_wine_bottle dx8vb vb6run
download "http://www.agarchive.net/games/bsc/FingerPanicSetup.exe"
if command -v xdotool &> /dev/null ; then
wine "${cache}/FingerPanicSetup.exe" /silent | xdotool sleep 10 key alt+y --clearmodifiers
else
wine "${cache}/FingerPanicSetup.exe" /silent
fi
wine "${cache}/FingerPanicSetup.exe" /silent &
xdotool sleep 10 key alt+y --clearmodifiers 2> /dev/null
wineserver -w
add_launcher "c:\Program Files\Finger Panic 1.0\FingerPanic.exe"
;;
"Fuck That Bird")