From 83850223e2b77a6fa12efe6bba0d2cde50ab4c6e Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 15 Nov 2023 20:18:11 +0900 Subject: [PATCH] fix: explicitly exit after dialog --- dzgui.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dzgui.sh b/dzgui.sh index d394043..14def9d 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=4.0.0-rc.5 +version=4.0.0-rc.6 aid=221100 game="dayz" @@ -1736,8 +1736,8 @@ check_architecture(){ logger INFO "Setting architecture to 'Steam Deck'" [[ $is_steam_deck -eq 1 ]] && test_display_mode if [[ $gamemode -eq 1 ]]; then - popup 1400 - return 1 + popup 1400 && + exit 1 fi else is_steam_deck=0