Packages: add ability to disable specified package manager

Fix #729
This commit is contained in:
李通洲
2024-02-21 15:56:52 +08:00
parent 4e9ee9aa03
commit 15bb5bfb24
8 changed files with 208 additions and 80 deletions
+4 -4
View File
@@ -1469,10 +1469,10 @@
"const": "packages",
"description": "List installed package managers and count of installed packages"
},
"winget": {
"description": "Set if winget package count should be detected.\nNote this is very slow operation. Please make sure `winget list` works before enable this option\nWindows only",
"type": "boolean",
"default": false
"disabled": {
"description": "A colon separated list of package managers to be disabled when detecting",
"type": "string",
"default": "winget"
},
"key": {
"$ref": "#/$defs/key"