mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-08-26 23:40:17 +00:00
Refactor kext index retrieval
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ class SMBIOS:
|
||||
selected_kexts.append("NoTouchID")
|
||||
|
||||
for name in selected_kexts:
|
||||
kext_maestro.check_kext(kext_maestro.get_kext_index(name), macos_version, "Beta" in os_data.get_macos_name_by_darwin(macos_version))
|
||||
kext_maestro.check_kext(kext_maestro.kext_data.kext_index_by_name(name), macos_version, "Beta" in os_data.get_macos_name_by_darwin(macos_version))
|
||||
|
||||
def select_smbios_model(self, hardware_report, macos_version):
|
||||
platform = "NUC" if "NUC" in hardware_report.get("Motherboard").get("Name") else hardware_report.get("Motherboard").get("Platform")
|
||||
|
||||
Reference in New Issue
Block a user