mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-10-16 19:41:07 -04:00
Also scan windows bundle
This commit is contained in:
parent
0c72143691
commit
0fb0fade07
@ -180,6 +180,7 @@ IGNORED_DEPENDENCY_CVES = [
|
|||||||
|
|
||||||
LINUX_BUNDLE = 'linux-64'
|
LINUX_BUNDLE = 'linux-64'
|
||||||
MACOS_BUNDLE = 'macos-64'
|
MACOS_BUNDLE = 'macos-64'
|
||||||
|
WINDOWS_BUNDLE = 'windows-64'
|
||||||
|
|
||||||
|
|
||||||
def install_bundle(dest=SW, which=''):
|
def install_bundle(dest=SW, which=''):
|
||||||
@ -196,6 +197,8 @@ def check_dependencies() -> None:
|
|||||||
install_bundle(dest, os.path.basename(dest))
|
install_bundle(dest, os.path.basename(dest))
|
||||||
dest = os.path.join(SW, MACOS_BUNDLE)
|
dest = os.path.join(SW, MACOS_BUNDLE)
|
||||||
install_bundle(dest, os.path.basename(dest))
|
install_bundle(dest, os.path.basename(dest))
|
||||||
|
dest = os.path.join(SW, WINDOWS_BUNDLE)
|
||||||
|
install_bundle(dest, os.path.basename(dest))
|
||||||
grype = install_grype()
|
grype = install_grype()
|
||||||
with open((gc := os.path.expanduser('~/.grype.yml')), 'w') as f:
|
with open((gc := os.path.expanduser('~/.grype.yml')), 'w') as f:
|
||||||
print('ignore:', file=f)
|
print('ignore:', file=f)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user