From ca43aa6e34c4ba34c8f0a0ac2b37941cfbbfd0bb Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 15 Nov 2023 20:10:14 +0900 Subject: [PATCH] fix: block Steam Deck earlier --- dzgui.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dzgui.sh b/dzgui.sh index d570c32..a28b9d1 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1734,6 +1734,11 @@ check_architecture(){ if [[ -n "$cpu" ]]; then is_steam_deck=1 logger INFO "Setting architecture to 'Steam Deck'" + [[ $is_steam_deck -eq 1 ]] && test_display_mode + if [[ $gamemode -eq 1 ]]; then + popup 1400 + return 1 + fi else is_steam_deck=0 logger INFO "Setting architecture to 'desktop'"