Combined some of the web based games into a single check because they give the same error.

This commit is contained in:
Storm Dragon 2022-03-15 03:29:52 -04:00
parent 3edc93eb0b
commit ebfe75577f

View File

@ -361,7 +361,7 @@ done
installPath="${HOME}/.local/games" installPath="${HOME}/.local/games"
mkdir -p "${installPath}" mkdir -p "${installPath}"
case "${game}" in case "${game}" in
"Aliens") "Aliens"|"QuentinC Play Room"|"Trigaea")
dialog --backtitle "Linux Game manager" \ dialog --backtitle "Linux Game manager" \
--infobox "${game} is a web based game and does not need to be installed." -1 -1 --infobox "${game} is a web based game and does not need to be installed." -1 -1
;; ;;
@ -421,10 +421,6 @@ case "${game}" in
unzip -d "${installPath}/soundStrider" "${cache}/soundStrider-linux-x64.zip" unzip -d "${installPath}/soundStrider" "${cache}/soundStrider-linux-x64.zip"
add_launcher "${installPath}/soundStrider/soundStrider" add_launcher "${installPath}/soundStrider/soundStrider"
;; ;;
"Trigaea")
dialog --backtitle "Linux Game manager" \
--infobox "${game} is a web based game and does not need to be installed." -1 -1
;;
"Wurmus") "Wurmus")
get_installer "Wurmus-linux-x64.zip" "https://shiftbacktick.itch.io/wurmus" get_installer "Wurmus-linux-x64.zip" "https://shiftbacktick.itch.io/wurmus"
mkdir -p "${installPath}/Wurmus" mkdir -p "${installPath}/Wurmus"