Explorar o código

Fix the model fetching

walking-octopus %!s(int64=3) %!d(string=hai) anos
pai
achega
a1e99aa0d3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      neofetch

+ 1 - 1
neofetch

@@ -1244,7 +1244,7 @@ get_distro() {
 get_model() {
     case $os in
         Linux)
-            if [[ -d /usr/bin/system-image-cli || -d /system/app/ ]]; then
+            if [[ -d /android/system/ || -d /system/app/ ]]; then
                 model="$(getprop ro.product.brand) $(getprop ro.product.model)"
 
             elif [[ -f /sys/devices/virtual/dmi/id/board_vendor ||