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.
gameList=(
"Fantasy Story II"
"soundStrider"
)
# Check for required packages
requiredPackages=(
"curl"
"dialog"
"unzip"
"wget"
)
@ -307,12 +309,16 @@ mkdir -p "${installPath}"
case "${game}" in
"Fantasy Story II")
get_installer "FS2_2.6_Linux.zip" "https://drive.google.com/file/d/187OaD1HhPoty85yJafZyvfqD5_G3P04c/view?usp=sharing"
pushd "${installPath}"
unzip "${cache}/FS2_2.6_Linux.zip"
popd
unzip -d "${installPath}" "${cache}/FS2_2.6_Linux.zip"
chmod +x "${installPath}/FS2_2.6_Linux/FS2.x86_64"
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")
open_url "https://ko-fi.com/stormux"
;;