From a3da33ce479cebd6bf85d025abfee8ba02cd249e Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Mon, 18 May 2026 00:21:51 +0700 Subject: [PATCH] Avoid AppleALC conflicts with NootedRed --- Scripts/kext_maestro.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Scripts/kext_maestro.py b/Scripts/kext_maestro.py index 6abc39e..92933a8 100644 --- a/Scripts/kext_maestro.py +++ b/Scripts/kext_maestro.py @@ -452,6 +452,14 @@ class KextMaestro: executable_path = os.path.join("Contents", "MacOS", bundle_info.get("CFBundleExecutable", "None")) if not os.path.exists(os.path.join(kexts_directory, kext_path, executable_path)): executable_path = "" + + bundle_libraries = { + bundle_identifier: bundle_version + for bundle_identifier, bundle_version in bundle_info.get("OSBundleLibraries", {}).items() + } + + if bundle_info.get("CFBundleExecutable", "None") == "AppleALC": + bundle_libraries["org.ChefKiss.NootedRed"] = "0.8.10" return { "BundlePath": kext_path.replace("\\", "/").lstrip("/"), @@ -460,10 +468,7 @@ class KextMaestro: "PlistPath": plist_path.replace("\\", "/").lstrip("/"), "BundleIdentifier": bundle_info.get("CFBundleIdentifier"), "BundleVersion": bundle_info.get("CFBundleVersion"), - "BundleLibraries": { - bundle_identifier: bundle_version - for bundle_identifier, bundle_version in bundle_info.get("OSBundleLibraries", {}).items() - } + "BundleLibraries": bundle_libraries } def modify_kexts(self, plist_path, hardware_report, macos_version):