Fixed bug in download function. Working on Eurofly.
This commit is contained in:
parent
6d2eedb0fe
commit
df3f91ef66
@ -248,10 +248,10 @@ download() {
|
|||||||
for i in "${source[@]}" ; do
|
for i in "${source[@]}" ; do
|
||||||
local dest="${i##*/}"
|
local dest="${i##*/}"
|
||||||
dest="${dest//%20/ }"
|
dest="${dest//%20/ }"
|
||||||
# Return if the game is in cache.
|
# Skip if the item is in cache.
|
||||||
test -e "${cache}/${dest}" && return
|
test -e "${cache}/${dest}" && continue
|
||||||
if ! wget -4 -O "${cache}/${dest}" "${i}" ; then
|
if ! wget -4 -O "${cache}/${dest}" "${i}" ; then
|
||||||
echo "Could not download game."
|
echo "Could not download..."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@ -527,6 +527,7 @@ gameList=(
|
|||||||
"Duck Hunt"
|
"Duck Hunt"
|
||||||
"Easter Quest"
|
"Easter Quest"
|
||||||
#"Entombed"
|
#"Entombed"
|
||||||
|
"Eurofly"
|
||||||
"Fantasy Story II"
|
"Fantasy Story II"
|
||||||
#"Fartman"
|
#"Fartman"
|
||||||
"Finger Panic"
|
"Finger Panic"
|
||||||
@ -734,6 +735,14 @@ case "${game}" in
|
|||||||
wine "${cache}/EntombedSetup.exe" /silent
|
wine "${cache}/EntombedSetup.exe" /silent
|
||||||
add_launcher "c:\Program Files\Entombed\Entombed.exe"
|
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")
|
"Fantasy Story II")
|
||||||
export winVer="win10"
|
export winVer="win10"
|
||||||
install_wine_bottle speechsdk
|
install_wine_bottle speechsdk
|
||||||
|
Loading…
Reference in New Issue
Block a user