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