no hackintosh check on arm64
This commit is contained in:
parent
ccd5d9f526
commit
598731bf89
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1257,7 +1257,7 @@ get_model() {
|
|||
;;
|
||||
|
||||
"Mac OS X"|"macOS")
|
||||
if [[ $(kextstat | grep -F -e "FakeSMC" -e "VirtualSMC") != "" ]]; then
|
||||
if [ "$(arch)" != "arm64" ] && [[ $(kextstat | grep -F -e "FakeSMC" -e "VirtualSMC") != "" ]]; then
|
||||
model="Hackintosh (SMBIOS: $(sysctl -n hw.model))"
|
||||
else
|
||||
model=$(sysctl -n hw.model)
|
||||
|
|
Loading…
Reference in a new issue