1
0
Fork 0
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:
aclist 2024-08-28 08:09:32 +09:00
parent 5fda598173
commit 5686ea76c2

View file

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