Packages: add ability to disable specified package manager

Fix #729
This commit is contained in:
李通洲 committed 2024-02-22 10:03:38 +08:00
1 parent 4e9ee9aa03
commit 15bb5bfb24
8 files changed
+208 -80

No files matched your search

+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"