mirror of
https://github.com/aclist/dztui.git
synced 2024-12-27 21:02:36 +01:00
fix: boolean operator
This commit is contained in:
parent
5fda598173
commit
5686ea76c2
1 changed files with 1 additions and 1 deletions
2
dzgui.sh
2
dzgui.sh
|
@ -380,7 +380,7 @@ test_display_mode(){
|
|||
check_architecture(){
|
||||
local cpu=$(< /proc/cpuinfo awk -F": " '/AMD Custom APU [0-9]{4}$/ {print $2; exit}')
|
||||
read -a APU_MODEL <<< "$cpu"
|
||||
if [[ ${APU_MODEL[3]} != "0932" ]] || [[ ${APU_MODEL[3]} != "0405" ]]; then
|
||||
if [[ ${APU_MODEL[3]} != "0932" ]] && [[ ${APU_MODEL[3]} != "0405" ]]; then
|
||||
is_steam_deck=0
|
||||
logger INFO "Setting architecture to 'desktop'"
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue