Add console game upheaval

This commit is contained in:
Michael Taboada 2023-12-05 19:27:33 -08:00
parent b2347f3cff
commit 6fef0d0fb7

View File

@ -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"