From ae8dc85de17afcfbf705243f6229c3299e92603f Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 18 Dec 2020 10:36:21 -0500 Subject: [PATCH] Added Castaways 2, try to stop source from offering binary update on Mac. --- audiogame-manager.sh | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 4fde6f5..a30c132 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -49,7 +49,7 @@ export DIALOGOPTS='--no-lines --visit-items' # Automatic update function update() { local filePath="$(command -v ${0})" - if file "${filePath}" | grep -q 'Bourne-Again shell script,' ; then + if file "${filePath}" | grep -q 'Bourne-Again shell script' ; then return fi # make sure the site can be reached @@ -469,6 +469,8 @@ gameList=( "AudioDisc" "Battle Zone" "Bloodshed" + "Castaways" + "Castaways 2" #"Chopper Challenge" "Christmas WhoopAss" "Crazy Party" @@ -604,6 +606,22 @@ case "${game}" in cp "${cache}/bloodshed.exe" "$WINEPREFIX/drive_c/Program Files/" add_launcher "c:\Program Files\bloodshed.exe" ;; + "Castaways") + export winVer="win7" + install_wine_bottle vb6run dx8vb speechsdk + download "https://www.kaldobsky.com/audiogames/castaways.zip" + unzip -d "$WINEPREFIX/drive_c/Program Files/castaways" "${cache}/castaways.zip" + wine "c:\Program Files\castaways\Checkup.exe" /verysilent + add_launcher "c:\Program Files\castaways\Castaways.exe" + ;; + "Castaways 2") + export winVer="win7" + install_wine_bottle vb6run dx8vb speechsdk + download "http://www.kaldobsky.com/audiogames/castaways2beta.zip" + unzip -d "$WINEPREFIX/drive_c/Program Files/castaways" "${cache}/castaways2beta.zip" + wine "c:\Program Files\castaways\Checkup.exe" /verysilent + add_launcher "c:\Program Files\castaways\Castaways2.exe" + ;; "Chopper Challenge") # Freezes at menu install_wine_bottle vb6run dx8vb speechsdk