mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +01:00
fix: block Steam Deck earlier
This commit is contained in:
parent
7a16c94072
commit
ca43aa6e34
1 changed files with 5 additions and 0 deletions
5
dzgui.sh
5
dzgui.sh
|
@ -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'"
|
||||||
|
|
Loading…
Reference in a new issue