From 19f52197580967f2cd9fae62afcd490bbaa7a824 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 17 Dec 2020 12:36:26 -0500 Subject: [PATCH] I was able to remove several xdotool calls. this should make several more games install on Mac without user intervention. --- audiogame-manager.sh | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 06083e1..4fde6f5 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -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")