mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
Revert "Model: Add support for Hackintosh"
This commit is contained in:
8
neofetch
8
neofetch
@@ -242,13 +242,7 @@ get_model() {
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Mac OS X")
|
"Mac OS X") model="$(sysctl -n hw.model)" ;;
|
||||||
if [[ "$(kextstat | grep "FakeSMC")" ]]; then
|
|
||||||
model="Hackintosh (SMBIOS: $(sysctl -n hw.model))"
|
|
||||||
else
|
|
||||||
model="$(sysctl -n hw.model)"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
"iPhone OS")
|
"iPhone OS")
|
||||||
case "$machine_arch" in
|
case "$machine_arch" in
|
||||||
"iPad1,1") model="iPad" ;;
|
"iPad1,1") model="iPad" ;;
|
||||||
|
Reference in New Issue
Block a user