I was able to remove several xdotool calls. this should make several more games install on Mac without user intervention.

This commit is contained in:
Storm Dragon 2020-12-17 12:36:26 -05:00
parent 1dfebe3eea
commit 19f5219758

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/bash
license() {
cat << EOF
@ -617,9 +617,7 @@ case "${game}" in
"Christmas WhoopAss")
install_wine_bottle vb6run dx8vb
download "https://www.agarchive.net/games/draconis/christmas%20whoopass%20setup.exe"
wine "${cache}/christmas whoopass setup.exe" /silent &
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
wineserver -w
wine "${cache}/christmas whoopass setup.exe" /sp- /silent
add_launcher "c:\Program Files\Draconis Entertainment\Christmas Whoop Ass\wa.exe"
;;
"Crazy Party")
@ -633,9 +631,7 @@ case "${game}" in
"Crazy Tennis")
install_wine_bottle speechsdk
download "https://www.agarchive.net/games/VIP/crazy%20tennis%20setup.exe"
wine "${cache}/crazy tennis setup.exe" /silent &
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
wineserver -w
wine "${cache}/crazy tennis setup.exe" /sp- /silent
add_launcher "c:\Program Files\Crazytennis\crazytennis.exe"
;;
"Death on the Road")
@ -670,14 +666,12 @@ case "${game}" in
install_wine_bottle dx8vb vb6run
download "http://www.agarchive.net/games/bpc/fartman.exe"
wine "${cache}/fartman.exe" /silent
#add_launcher "c:\Program Files\Finger Panic 1.0\FingerPanic.exe"
#add_launcher "c:\Program Files\"
;;
"Finger Panic")
install_wine_bottle dx8vb vb6run
download "http://www.agarchive.net/games/bsc/FingerPanicSetup.exe"
wine "${cache}/FingerPanicSetup.exe" /silent &
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
wineserver -w
wine "${cache}/FingerPanicSetup.exe" /sp- /silent
add_launcher "c:\Program Files\Finger Panic 1.0\FingerPanic.exe"
;;
"Fuck That Bird")
@ -869,9 +863,7 @@ EOF
"Pacman Talks")
install_wine_bottle
download "http://www.gmagames.com/pmt101.exe"
wine "${cache}/pmt101.exe" /silent &
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
wineserver -w
wine "${cache}/pmt101.exe" /sp- /silent &
add_launcher "c:\Program Files\Pacman Talks\pmt.exe"
;;
"Palace Punch Up")