1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-28 21:32:36 +01:00

fix: block Steam Deck earlier

This commit is contained in:
aclist 2023-11-15 20:10:14 +09:00
parent 7a16c94072
commit ca43aa6e34

View file

@ -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'"