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")