From f196d9240c7c2a873aa619e059aa813795729b5f Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 1 Nov 2022 16:23:45 -0400 Subject: [PATCH] Added in the second Toby Mod Delux. --- linux-game-manager.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index 3aadb40..8525b0c 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -524,9 +524,10 @@ case "${game}" in exit 0 fi fi - download "https://www.dropbox.com/s/rsswh6m8hhjwp7g/Toby%20Acc%20Mod%20V5-1%20Update%20Fix.zip?dl=0" + download "https://www.dropbox.com/s/rsswh6m8hhjwp7g/Toby%20Acc%20Mod%20V5-1%20Update%20Fix.zip?dl=0" "https://www.dropbox.com/s/zzi4x9y6rg9yvja/TobyDoom2Deluxe_LevelsOnly.zip?dl=0" if [[ ! -e "/usr/share/games/doom/TobyDeluxeMapPack_V5-1.pk3" ]]; then if sudo unzip -d "/usr/share/games/doom" "${cache}/Toby Acc Mod V5-1 Update Fix.zip" ; then + sudo unzip -d "/usr/share/games/doom" "${cache}/TobyDoom2Deluxe_LevelsOnly.zip" mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom" cp /usr/share/games/doom/gzdoom.ini "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/" grep -qx 'Path=/usr/share/games/doom' "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini" || \ @@ -542,6 +543,9 @@ case "${game}" in # Add in the Toby Mod Delux option game="Freedoom Toby Mod Delux" add_launcher "$(command -v gzdoom) /usr/share/games/doom/TobyDeluxeMapPack_V5-1.pk3" + # Add in the Toby Mod Delux 2 option + game="Freedoom Toby Mod Delux 2" + add_launcher "$(command -v gzdoom) /usr/share/games/doom/TobyD2Deluxe.pk3" ;; "Monkey Spank") git -C "${installPath}" clone --recurse-submodules https://gitlab.com/stormdragon2976/monkeyspank.git