diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 6f2db07..63c2f44 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -248,10 +248,10 @@ download() { for i in "${source[@]}" ; do local dest="${i##*/}" dest="${dest//%20/ }" - # Return if the game is in cache. - test -e "${cache}/${dest}" && return + # Skip if the item is in cache. + test -e "${cache}/${dest}" && continue if ! wget -4 -O "${cache}/${dest}" "${i}" ; then - echo "Could not download game." + echo "Could not download..." exit 1 fi done @@ -527,6 +527,7 @@ gameList=( "Duck Hunt" "Easter Quest" #"Entombed" + "Eurofly" "Fantasy Story II" #"Fartman" "Finger Panic" @@ -734,6 +735,14 @@ case "${game}" in wine "${cache}/EntombedSetup.exe" /silent add_launcher "c:\Program Files\Entombed\Entombed.exe" ;; + "Eurofly") + export winVer="win7" + install_wine_bottle speechsdk + download "http://www.stefankiss.sk/programy/eurofly/Launcher_1.2.zip" "http://www.stefankiss.sk/programy/eurofly/Eurofly_2_ful_setup.exe" + wine "${cache}/Eurofly_2_ful_setup.exe" /silent + #unzip -d "$WINEPREFIX/drive_c/Program Files/Eurofly" "${cache}/Launcher_1.2.zip" + #add_launcher "c:\Program Files\Eurofly\launcher.exe" + ;; "Fantasy Story II") export winVer="win10" install_wine_bottle speechsdk