mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-08-25 14:53:06 +00:00
Add conditional handling for custom CPU name
This commit is contained in:
@@ -180,6 +180,7 @@ class ConfigProdigy:
|
|||||||
if macos_version > 22:
|
if macos_version > 22:
|
||||||
boot_args.append("revpatch=sbvmm{}".format(",cpuname" if custom_cpu_name else ""))
|
boot_args.append("revpatch=sbvmm{}".format(",cpuname" if custom_cpu_name else ""))
|
||||||
else:
|
else:
|
||||||
|
if custom_cpu_name:
|
||||||
boot_args.append("revpatch=cpuname")
|
boot_args.append("revpatch=cpuname")
|
||||||
|
|
||||||
if not self.utils.contains_any(cpu_data.IntelCPUGenerations, cpu_codename, start=13) is None:
|
if not self.utils.contains_any(cpu_data.IntelCPUGenerations, cpu_codename, start=13) is None:
|
||||||
@@ -188,7 +189,7 @@ class ConfigProdigy:
|
|||||||
if ethernet_pci in ["8086-15F2", "8086-15F3", "8086-15F8"]:
|
if ethernet_pci in ["8086-15F2", "8086-15F3", "8086-15F8"]:
|
||||||
if macos_version == 20:
|
if macos_version == 20:
|
||||||
boot_args.append("dk.e1000=0")
|
boot_args.append("dk.e1000=0")
|
||||||
if macos_version == 21:
|
elif macos_version == 21:
|
||||||
boot_args.append("e1000=0")
|
boot_args.append("e1000=0")
|
||||||
|
|
||||||
if "Intel" in cpu_manufacturer:
|
if "Intel" in cpu_manufacturer:
|
||||||
|
|||||||
Reference in New Issue
Block a user