mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-18 21:30:00 +10:00
kdk_handler.py: Adjust logic
This commit is contained in:
@@ -174,6 +174,6 @@ class kernel_debug_kit_handler:
|
||||
if Path("/Library/Developer/KDKs").exists():
|
||||
for file in Path("/Library/Developer/KDKs").iterdir():
|
||||
if file.is_dir():
|
||||
if build in file.name:
|
||||
if file.name.endswith(f"{build}.kdk"):
|
||||
return True
|
||||
return False
|
||||
Reference in New Issue
Block a user