no hackintosh check on arm64

This commit is contained in:
malik 2023-10-12 13:07:47 +02:00
parent ccd5d9f526
commit 598731bf89

View file

@ -1257,7 +1257,7 @@ get_model() {
;; ;;
"Mac OS X"|"macOS") "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))" model="Hackintosh (SMBIOS: $(sysctl -n hw.model))"
else else
model=$(sysctl -n hw.model) model=$(sysctl -n hw.model)