Also scan windows bundle

This commit is contained in:
Kovid Goyal 2025-09-24 10:29:44 +05:30
parent 0c72143691
commit 0fb0fade07
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -180,6 +180,7 @@ IGNORED_DEPENDENCY_CVES = [
LINUX_BUNDLE = 'linux-64'
MACOS_BUNDLE = 'macos-64'
WINDOWS_BUNDLE = 'windows-64'
def install_bundle(dest=SW, which=''):
@ -196,6 +197,8 @@ def check_dependencies() -> None:
install_bundle(dest, os.path.basename(dest))
dest = os.path.join(SW, MACOS_BUNDLE)
install_bundle(dest, os.path.basename(dest))
dest = os.path.join(SW, WINDOWS_BUNDLE)
install_bundle(dest, os.path.basename(dest))
grype = install_grype()
with open((gc := os.path.expanduser('~/.grype.yml')), 'w') as f:
print('ignore:', file=f)