forked from VSCodium/vscodium
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
173 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,15 @@ | ||
diff --git a/build/lib/builtInExtensions.js b/build/lib/builtInExtensions.js | ||
index 1b0adc4..b595123 100644 | ||
--- a/build/lib/builtInExtensions.js | ||
+++ b/build/lib/builtInExtensions.js | ||
@@ -47,5 +47,3 @@ function isUpToDate(extension) { | ||
function getExtensionDownloadStream(extension) { | ||
- const galleryServiceUrl = productjson.extensionsGallery?.serviceUrl; | ||
- return (galleryServiceUrl ? ext.fromMarketplace(galleryServiceUrl, extension) : ext.fromGithub(extension)) | ||
- .pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`)); | ||
+ return ext.fromGithub(extension).pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`)); | ||
} | ||
diff --git a/build/lib/builtInExtensions.ts b/build/lib/builtInExtensions.ts | ||
index fefed43..4ae553e 100644 | ||
index fefed436bb9..66520d3ef69 100644 | ||
--- a/build/lib/builtInExtensions.ts | ||
+++ b/build/lib/builtInExtensions.ts | ||
@@ -72,5 +72,3 @@ function isUpToDate(extension: IExtensionDefinition): boolean { | ||
@@ -70,9 +70,7 @@ function isUpToDate(extension: IExtensionDefinition): boolean { | ||
} | ||
|
||
function getExtensionDownloadStream(extension: IExtensionDefinition) { | ||
- const galleryServiceUrl = productjson.extensionsGallery?.serviceUrl; | ||
- return (galleryServiceUrl ? ext.fromMarketplace(galleryServiceUrl, extension) : ext.fromGithub(extension)) | ||
- .pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`)); | ||
+ return ext.fromGithub(extension).pipe(rename(p => p.dirname = `${extension.name}/${p.dirname}`)); | ||
} | ||
|
||
export function getExtensionStream(extension: IExtensionDefinition) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.