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