mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
kdk_handler: Ensure argument is not empty
This commit is contained in:
@@ -220,6 +220,9 @@ class kernel_debug_kit_handler:
|
||||
if not Path("/Library/Developer/KDKs").exists():
|
||||
return
|
||||
|
||||
if exclude_build == "":
|
||||
return
|
||||
|
||||
print("- Cleaning unused KDKs")
|
||||
for kdk_folder in Path("/Library/Developer/KDKs").iterdir():
|
||||
if kdk_folder.is_dir():
|
||||
|
||||
Reference in New Issue
Block a user