Skip to content
This repository has been archived by the owner on Feb 26, 2022. It is now read-only.

Commit

Permalink
add .bin to the list of extensions to sign
Browse files Browse the repository at this point in the history
Looks like this suffix is already in the signingscript
`allowed_filenames`; adding here to match
  • Loading branch information
escapewindow committed Jul 26, 2019
1 parent 2e8e599 commit 9f290c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signingscript/sign.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def _should_sign_windows(filename):
]
ext = os.path.splitext(filename)[1]
b = os.path.basename(filename)
if ext in ('.dll', '.exe', '.msi') and not any(fnmatch.fnmatch(b, p) for p in _dont_sign):
if ext in ('.dll', '.exe', '.msi', '.bin') and not any(fnmatch.fnmatch(b, p) for p in _dont_sign):
return True
return False

Expand Down

0 comments on commit 9f290c3

Please sign in to comment.