mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 14:42:54 +01:00
fix: block Steam Deck earlier
This commit is contained in:
1 parent
7a16c94072
commit
ca43aa6e34
1 file changed
+5
@@ -1734,6 +1734,11 @@ check_architecture(){
|
|||||||
if [[ -n "$cpu" ]]; then
|
if [[ -n "$cpu" ]]; then
|
||||||
is_steam_deck=1
|
is_steam_deck=1
|
||||||
logger INFO "Setting architecture to 'Steam Deck'"
|
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
|
else
|
||||||
is_steam_deck=0
|
is_steam_deck=0
|
||||||
logger INFO "Setting architecture to 'desktop'"
|
logger INFO "Setting architecture to 'desktop'"
|
||||||
|
|||||||
Reference in new issue
Block a user