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