kdk_handler.py: Adjust logic

This commit is contained in:
Mykola Grymalyuk
2022-10-01 16:22:30 -06:00
parent e27ca8d160
commit f60af0446e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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