From 3272dce4ed2100b7010734f6f897a796567f684b Mon Sep 17 00:00:00 2001 From: nikitenich Date: Sat, 25 Aug 2018 14:00:52 +0300 Subject: [PATCH] Improve Hackintosh detection There is a new SMC emulator https://github.com/acidanthera/VirtualSMC --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 94c612aa..7a73cefa 100755 --- a/neofetch +++ b/neofetch @@ -1039,7 +1039,7 @@ get_model() { ;; "Mac OS X") - if [[ "$(kextstat | grep -F "FakeSMC")" != "" ]]; then + if [[ "$(kextstat | grep -E "FakeSMC|VirtualSMC")" != "" ]]; then model="Hackintosh (SMBIOS: $(sysctl -n hw.model))" else model="$(sysctl -n hw.model)"