no hackintosh check on arm64
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user