From a38eee08cb811db914cae4bae6dfa9fa1ab82170 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 26 Dec 2024 19:31:39 -0500 Subject: [PATCH] Updated map menus for custom mods. --- .launch/TobyCustom/.mapmenu | 4 ++-- linux-game-manager.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.launch/TobyCustom/.mapmenu b/.launch/TobyCustom/.mapmenu index 9dc40ef..7c09908 100755 --- a/.launch/TobyCustom/.mapmenu +++ b/.launch/TobyCustom/.mapmenu @@ -1,8 +1,8 @@ # Choice of maps mapList=( "${gamePath}/OpMDK.wad" - "${gamePath}/TobyDoomLevels.wad" - "${gamePath}/Toby-Demo-Level.wad" + "${gamePath}/Addons/MAPS/TobyDoomLevels.wad" + "${gamePath}/Addons/MAPS/Toby-Demo-Level.wad" ) declare -a mapMenu=('none' 'None') diff --git a/linux-game-manager.sh b/linux-game-manager.sh index 2c44f3c..7b6b555 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -48,7 +48,7 @@ export DIALOGOPTS='--no-lines --visit-items' # Check for updates check_update() { local url="$(git ls-remote --get-url)" - if [[ "$url" =~ ^ssh://|git@ ]] || [[ -z "$url" ]]; then + if [[ "$url" =~ ^[[:alnum:]]+@ ]] || [[ -z "$url" ]]; then return fi git remote update > /dev/null 2>&1