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