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