From 6fef0d0fb774b35b9e40257e87ee15ebfcac4727 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Tue, 5 Dec 2023 19:27:33 -0800 Subject: [PATCH] Add console game upheaval --- linux-game-manager.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index 24a3530..bad24c1 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -344,7 +344,7 @@ game_removal() { --yesno "This will remove the game from your game list, but will not remove any files. Do you want to continue?." -1 -1 --stdout || exit 0 else dialog --backtitle "Linux Game Manager" \ - --yesno "mThis will remove the directory \"${game%/*}\" and all of its contents. Do you want to continue?." -1 -1 --stdout || exit 0 + --yesno "This will remove the directory \"${game%/*}\" and all of its contents. Do you want to continue?." -1 -1 --stdout || exit 0 fi export noRemove { [ "$noRemove" == "no" ] && rm -rfv "${game%/*}"; @@ -503,6 +503,7 @@ gameList=( "StickMUD" "System Fault" "Trigaea" + "Upheaval" "Wurmus" ) @@ -846,6 +847,13 @@ case "${game}" in chmod +x "${installPath}/System_Fault/system-fault-linux-x86_64.AppImage" add_launcher "${installPath}/System_Fault/system-fault-linux-x86_64.AppImage" ;; + "Upheaval") + check_architecture x86_64 + get_installer "upheaval-linux-console.zip" "https://leonegaming.itch.io/upheaval" + mkdir -p "${installPath}/Upheaval" + unzip -d "${installPath}/Upheaval" "${cache}/upheaval-linux-console.zip" + add_launcher "${installPath}/Upheaval/Upheaval_Command_Line" + ;; "Wurmus") check_architecture x86_64 get_installer "Wurmus-linux-x64.zip" "https://shiftbacktick.itch.io/wurmus"