From e9171a7ea91bdce72672dc590bc9ed49a691c04d Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 21 Sep 2023 21:32:38 -0400 Subject: [PATCH] Fix mod launcher for Doom to use the correct version. --- linux-game-manager.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index d1e0e4b..a06699d 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -663,13 +663,13 @@ case "${game}" in sed -i "s;^\[IWADSearch.Directories\]$;[IWADSearch.Directories]\nPath=${doomPath};" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini" sed -i 's/Mouse1=+attack/CTRL=+attack/' "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini" # Unmodified Doom with accessibility. - add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccModV${tobyVersion%-*}.pk3" + add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccModV${tobyVersion}.pk3" # Toby accessibility mods game="Freedoom Toby Mod" - add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccModV${tobyVersion%-*}.pk3" "${doomPath}/TobyDoomLevels.wad" + add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccModV${tobyVersion}.pk3" "${doomPath}/TobyDoomLevels.wad" # OperationMDK game="Freedoom OperationMDK" - add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccModV${tobyVersion%-*}.pk3" "${doomPath}/OpMDK.wad" + add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccModV${tobyVersion}.pk3" "${doomPath}/OpMDK.wad" ;; "Monkey Spank") check_dependencies python-pygame:pygame python-xdg:xdg python-pyperclip:pyperclip python-requests:requests python-setproctitle:setproctitle