Correct AirportItlwm version for macOS Sonoma with OCLP patch

This commit is contained in:
Hoang Hong Quan
2025-04-28 16:34:50 +07:00
parent 6e46ecf576
commit b6bb0e4af6
+1 -1
View File
@@ -333,7 +333,7 @@ class KextMaestro:
for kext_path, type in kext_paths:
if "AirportItlwm" == kext.name:
version = macos_version[:2]
if self.utils.parse_darwin_version("24.0.0") <= self.utils.parse_darwin_version(macos_version):
if all((self.kexts[kext_data.kext_index_by_name.get("IOSkywalkFamily")].checked, self.kexts[kext_data.kext_index_by_name.get("IO80211FamilyLegacy")].checked)) or self.utils.parse_darwin_version("24.0.0") <= self.utils.parse_darwin_version(macos_version):
version = "22"
elif self.utils.parse_darwin_version("23.4.0") <= self.utils.parse_darwin_version(macos_version):
version = "23.4"