[PR] dylanaraps/neofetch#2005 from alyxferrari - Add recognition for Hackintosh VMs
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2005 Thanks to @alyxferrari Co-authored-by: Alyx Ferrari <rubiquikyt@gmail.com>
This commit is contained in:
commit
186b059459
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1284,7 +1284,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
|
||||
if [[ $osx_version =~ "10.4" || $osx_version =~ "10.5" ]]; then
|
||||
|
|
Loading…
Reference in a new issue