From 7254b70112153fc6e648877ec78e528fc2d447a6 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 20 Nov 2020 15:21:18 -0500 Subject: [PATCH] Improved Finger Panic and other xdotool based installers. --- audiogame-manager.sh | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 11d50a9..26a2bf3 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -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")