Game soundStrider added.

This commit is contained in:
Storm Dragon 2022-03-12 21:39:38 -05:00
parent 4bbfc447b4
commit 118382bd0a

View File

@ -256,11 +256,13 @@ exec &> >(/usr/bin/tee -a "${cache}/linux-game-manager.log")
# Use menu friendly names. # Use menu friendly names.
gameList=( gameList=(
"Fantasy Story II" "Fantasy Story II"
"soundStrider"
) )
# Check for required packages # Check for required packages
requiredPackages=( requiredPackages=(
"curl" "curl"
"dialog"
"unzip" "unzip"
"wget" "wget"
) )
@ -307,12 +309,16 @@ mkdir -p "${installPath}"
case "${game}" in case "${game}" in
"Fantasy Story II") "Fantasy Story II")
get_installer "FS2_2.6_Linux.zip" "https://drive.google.com/file/d/187OaD1HhPoty85yJafZyvfqD5_G3P04c/view?usp=sharing" get_installer "FS2_2.6_Linux.zip" "https://drive.google.com/file/d/187OaD1HhPoty85yJafZyvfqD5_G3P04c/view?usp=sharing"
pushd "${installPath}" unzip -d "${installPath}" "${cache}/FS2_2.6_Linux.zip"
unzip "${cache}/FS2_2.6_Linux.zip"
popd
chmod +x "${installPath}/FS2_2.6_Linux/FS2.x86_64" chmod +x "${installPath}/FS2_2.6_Linux/FS2.x86_64"
add_launcher "${installPath}/FS2_2.6_Linux/FS2.x86_64" "-ESpeakApplication=espeak-ng" add_launcher "${installPath}/FS2_2.6_Linux/FS2.x86_64" "-ESpeakApplication=espeak-ng"
;; ;;
"soundStrider")
get_installer "soundStrider-linux-x64.zip" "https://shiftbacktick.itch.io/soundstrider"
mkdir -p "${installPath}/soundStrider"
unzip -d "${installPath}/soundStrider" "${cache}/soundStrider-linux-x64.zip"
add_launcher "${installPath}/soundStrider/soundStrider"
;;
"Donate") "Donate")
open_url "https://ko-fi.com/stormux" open_url "https://ko-fi.com/stormux"
;; ;;