Hopefully prevent breakage when launched with no internet connection.
This commit is contained in:
parent
26a6cdc596
commit
fed76d2271
@ -9,6 +9,8 @@ update() {
|
||||
if file "${filePath}" | grep -q 'Bourne-Again shell script, ASCII text' ; then
|
||||
return
|
||||
fi
|
||||
# make sure the site can be reached
|
||||
ping -c1 https://stormgames.wolfe.casa &> /dev/null || return
|
||||
if [[ "$(wget --quiet -O - https://stormgames.wolfe.casa/downloads/audiogame-manager | sha256sum | cut -d ' ' -f1)" == "$(sha256sum "${filePath}" | cut -d ' ' -f1)" ]]; then
|
||||
return
|
||||
fi
|
||||
@ -384,6 +386,7 @@ gameList=(
|
||||
"Easter Quest"
|
||||
#"Entombed"
|
||||
"Fantasy Story II"
|
||||
"Fartman"
|
||||
"Finger Panic"
|
||||
"Fuck That Bird"
|
||||
"GMA Tank Commander"
|
||||
@ -532,6 +535,12 @@ case "${game}" in
|
||||
unzip -d "$WINEPREFIX/drive_c/Program Files/" "${cache}/FS2_2.2_Windows_x86.zip"
|
||||
add_launcher "c:\Program Files\FS2_2.2_Windows_x86\FantasyStory2.exe"
|
||||
;;
|
||||
"Fartman")
|
||||
install_wine_bottle dx8vb vb6run
|
||||
download "http://www.agarchive.net/games/bpc/fartman.exe"
|
||||
wine "${cache}/fartman.exe" /silent
|
||||
#add_launcher "c:\Program Files\Finger Panic 1.0\FingerPanic.exe"
|
||||
;;
|
||||
"Finger Panic")
|
||||
install_wine_bottle dx8vb vb6run
|
||||
download "http://www.agarchive.net/games/bsc/FingerPanicSetup.exe"
|
||||
|
Loading…
Reference in New Issue
Block a user