Fixed some xdotool invocations

This commit is contained in:
Michael Taboada 2020-11-20 16:48:08 -08:00
parent 9566babe70
commit f5383080e1

View File

@ -484,7 +484,7 @@ case "${game}" in
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" /silent &
xdotool sleep 10 key alt+y --clearmodifiers 2> /dev/null xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
wineserver -w 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"
;; ;;
@ -521,7 +521,7 @@ case "${game}" in
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" /silent &
xdotool sleep 10 key alt+y --clearmodifiers 2> /dev/null xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
wineserver -w wineserver -w
add_launcher "c:\Program Files\Finger Panic 1.0\FingerPanic.exe" add_launcher "c:\Program Files\Finger Panic 1.0\FingerPanic.exe"
;; ;;
@ -539,7 +539,7 @@ case "${game}" in
wineserver -k # Damn you, dotnet. wineserver -k # Damn you, dotnet.
download "http://www.agarchive.net/games/bsc/HunterSetup.exe" "https://www.agarchive.net/games/bsc/BSC%20unlock%20code%20generator.7z" download "http://www.agarchive.net/games/bsc/HunterSetup.exe" "https://www.agarchive.net/games/bsc/BSC%20unlock%20code%20generator.7z"
wine "${cache}/HunterSetup.exe" /silent & wine "${cache}/HunterSetup.exe" /silent &
xdotool sleep 10 key alt+y --clearmodifiers 2> /dev/null xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
wineserver -w wineserver -w
mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator" mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator"
7z e -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z" 7z e -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z"