diff --git a/bucket/VulnerabilityLookup.json b/bucket/VulnerabilityLookup.json index 5347c7a..c740abf 100644 --- a/bucket/VulnerabilityLookup.json +++ b/bucket/VulnerabilityLookup.json @@ -1,19 +1,23 @@ { "version": "2.2.0", - "description": "(Scoop bucket by arch3rpro) - Vulnerability-Lookup facilitates quick correlation of vulnerabilities from various sources", + "description": "(Scoop bucket by arch3rpro) PyVulnerabilityLookup - Facilitates quick correlation of vulnerabilities from various sources.", "homepage": "https://github.com/cve-search/PyVulnerabilityLookup", - "Notes":"该配置由arch3rPro独家编写,执行命令vulnerability_lookup -h 查看帮助", + "notes": "该配置由 arch3rPro 独家编写,执行命令 vulnerability_lookup -h 查看帮助。", "license": "BSD-3-Clause", "suggest": "python3.10", "url": "https://github.com/cve-search/PyVulnerabilityLookup/archive/refs/tags/v2.2.0.zip", "hash": "e3a01cb23a799be2588e65b537222147066aaef404ab5f67d9463d6c4e73c7c4", + "extract_dir": "PyVulnerabilityLookup-2.2.0", "post_install": [ - "Move-Item -Path \"$dir\\PyVulnerabilityLookup-$version\\*\" -Destination \"$dir\\\"", - "Remove-Item \"$dir\\PyVulnerabilityLookup-$version\" -Force -Recurse", - "pip3 install pyvulnerabilitylookup" + "pipx install --force \"$dir\"", + "pipx ensurepath" ], - "checkver": "github", + "checkver": { + "url": "https://github.com/cve-search/PyVulnerabilityLookup/releases", + "regex": "tags/v([\\d.]+)" + }, "autoupdate": { - "url": "https://github.com/cve-search/PyVulnerabilityLookup/archive/refs/tags/v$version.zip" + "url": "https://github.com/cve-search/PyVulnerabilityLookup/archive/refs/tags/v$version.zip", + "extract_dir": "PyVulnerabilityLookup-$version" } -} +} \ No newline at end of file