Skip to content

Commit

Permalink
signtool: Fix path detection
Browse files Browse the repository at this point in the history
  • Loading branch information
deajan committed May 12, 2021
1 parent da7821d commit c4014ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions windows_tools/signtool/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def detect_signtool(self, arch: str):
# Get all sdk version paths ie c:\Program Files (x86)\Windows Kits\{version}\bin\{sdk_versions}
sdk_dirs = get_paths_recursive(os.path.join(next(sdk_base_dir), 'bin'),
d_include_list=['{}*'.format(self.sdk_winver)],
exclude_files=True,
min_depth=2, max_depth=2)

# Get most recent SDK directory
Expand Down

0 comments on commit c4014ef

Please sign in to comment.