mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-06-02 21:45:25 -05:00
Add recognition for Hackintosh VMs
This commit is contained in:
parent
ccd5d9f526
commit
50516dcf67
2
neofetch
2
neofetch
|
|
@ -1257,7 +1257,7 @@ get_model() {
|
|||
;;
|
||||
|
||||
"Mac OS X"|"macOS")
|
||||
if [[ $(kextstat | grep -F -e "FakeSMC" -e "VirtualSMC") != "" ]]; then
|
||||
if [[ $(kextstat | grep -F -e "FakeSMC" -e "VirtualSMC" -e "Lilu") != "" ]]; then
|
||||
model="Hackintosh (SMBIOS: $(sysctl -n hw.model))"
|
||||
else
|
||||
model=$(sysctl -n hw.model)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user