更新时间:2021-10-18 08:45:25
这可以通过在 product.json
中添加以下内容来解决:
This can be fixed by adding following to product.json
:
"extensionsGallery": {
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
"cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
"itemUrl": "https://marketplace.visualstudio.com/items"
}
(这也可以通过从官方构建中复制 product.json
(在 .zip archvie,product.json
位于 resources/app
下),其中包含以上几行).
(This is can also be fixed by copying product.json
from an official build (in the .zip archvie, product.json
is under resources/app
) which contains above lines).