Add support for macOS Tahoe 26

This commit is contained in:
Hoang Hong Quan
2025-06-10 02:47:13 +07:00
parent 241e065b5a
commit f0cceba20f
6 changed files with 30 additions and 23 deletions
+6 -5
View File
@@ -502,12 +502,13 @@ class KextMaestro:
bundle["MaxKernel"] = os_data.get_latest_darwin_version()
bundle["MinKernel"] = os_data.get_lowest_darwin_version()
kext_index = kext_data.kext_index_by_name.get(os.path.splitext(os.path.basename(bundle.get("BundlePath")))[0])
if kext_index:
bundle["MaxKernel"] = self.kexts[kext_index].max_darwin_version
bundle["MinKernel"] = self.kexts[kext_index].min_darwin_version
if not "Beta" in os_data.get_macos_name_by_darwin(macos_version):
kext_index = kext_data.kext_index_by_name.get(os.path.splitext(os.path.basename(bundle.get("BundlePath")))[0])
if kext_index:
bundle["MaxKernel"] = self.kexts[kext_index].max_darwin_version
bundle["MinKernel"] = self.kexts[kext_index].min_darwin_version
for dep_identifier in bundle.get("BundleLibraries"):
if dep_identifier in bundle_dict: