ext-from-gh.patch 1.3 KB

12345678910111213141516171819202122
  1. diff --git a/build/lib/builtInExtensions.js b/build/lib/builtInExtensions.js
  2. index 400ca68..f37060a 100644
  3. --- a/build/lib/builtInExtensions.js
  4. +++ b/build/lib/builtInExtensions.js
  5. @@ -83,5 +83,3 @@ function isUpToDate(extension) {
  6. function getExtensionDownloadStream(extension) {
  7. - const galleryServiceUrl = productjson.extensionsGallery?.serviceUrl;
  8. - return (galleryServiceUrl ? ext.fromMarketplace(galleryServiceUrl, extension) : ext.fromGithub(extension))
  9. - .pipe((0, gulp_rename_1.default)(p => p.dirname = `${extension.name}/${p.dirname}`));
  10. + return ext.fromGithub(extension).pipe((0, gulp_rename_1.default)(p => p.dirname = `${extension.name}/${p.dirname}`));
  11. }
  12. diff --git a/build/lib/builtInExtensions.ts b/build/lib/builtInExtensions.ts
  13. index 9b1ec73..1cb3301 100644
  14. --- a/build/lib/builtInExtensions.ts
  15. +++ b/build/lib/builtInExtensions.ts
  16. @@ -70,5 +70,3 @@ function isUpToDate(extension: IExtensionDefinition): boolean {
  17. function getExtensionDownloadStream(extension: IExtensionDefinition) {
  18. - const galleryServiceUrl = productjson.extensionsGallery?.serviceUrl;
  19. - return (galleryServiceUrl ? ext.fromMarketplace(galleryServiceUrl, extension) : ext.fromGithub(extension))
  20. - .pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`));
  21. + return ext.fromGithub(extension).pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`));
  22. }