mirror of
https://github.com/aclist/dztui.git
synced 2026-08-25 17:32:36 +02:00
fix: block Steam Deck earlier
This commit is contained in:
parent
7a16c94072
commit
ca43aa6e34
5
dzgui.sh
5
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'"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user