|
1 | | -diff --git a/src/vs/workbench/contrib/remote/browser/remote.contribution.ts b/src/vs/workbench/contrib/remote/browser/remote.contribution.ts |
2 | | -index 932a92c..afa3272 100644 |
3 | | ---- a/src/vs/workbench/contrib/remote/browser/remote.contribution.ts |
4 | | -+++ b/src/vs/workbench/contrib/remote/browser/remote.contribution.ts |
5 | | -@@ -14,2 +14,4 @@ import { AutomaticPortForwarding, ForwardedPortsView, PortRestore } from 'vs/wor |
6 | | - import { RemoteStartEntry } from 'vs/workbench/contrib/remote/browser/remoteStartEntry'; |
7 | | -+import { CommandsRegistry } from 'vs/platform/commands/common/commands'; |
8 | | -+import { localize } from 'vs/nls'; |
| 1 | +diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js |
| 2 | +index ae33cc9..06c2a67 100644 |
| 3 | +--- a/build/gulpfile.reh.js |
| 4 | ++++ b/build/gulpfile.reh.js |
| 5 | +@@ -251,3 +251,3 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa |
| 6 | + const productJsonStream = gulp.src(['product.json'], { base: '.' }) |
| 7 | +- .pipe(json({ commit, date, version, release })); |
| 8 | ++ .pipe(json({ commit, date, version, release, serverDownloadUrlTemplate: 'https://github.com/VSCodium/vscodium-insiders/releases/download/${version}.${release}-insider/vscodium-reh-${os}-${arch}-${version}.${release}-insider.tar.gz' })); |
| 9 | + |
| 10 | +diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js |
| 11 | +index 938943d..2d84a15 100644 |
| 12 | +--- a/build/gulpfile.vscode.js |
| 13 | ++++ b/build/gulpfile.vscode.js |
| 14 | +@@ -245,3 +245,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op |
| 15 | + const date = new Date().toISOString(); |
| 16 | +- const productJsonUpdate = { commit, date, checksums, version, release }; |
| 17 | ++ const productJsonUpdate = { commit, date, checksums, version, release, serverDownloadUrlTemplate: 'https://github.com/VSCodium/vscodium-insiders/releases/download/${version}.${release}-insider/vscodium-reh-${os}-${arch}-${version}.${release}-insider.tar.gz' }; |
9 | 18 |
|
10 | | -@@ -25 +27,13 @@ workbenchContributionsRegistry.registerWorkbenchContribution(RemoteMarkers, Life |
11 | | - workbenchContributionsRegistry.registerWorkbenchContribution(RemoteStartEntry, LifecyclePhase.Starting); |
12 | | -+ |
13 | | -+CommandsRegistry.registerCommand({ |
14 | | -+ id: 'remote.serverDownloadUrlTemplate', |
15 | | -+ description: { |
16 | | -+ description: localize('remote.serverDownloadUrlTemplate', 'Provides the url template to download the server archive'), |
17 | | -+ args: [], |
18 | | -+ returns: 'string', |
19 | | -+ }, |
20 | | -+ handler: async (_) => { |
21 | | -+ return 'https://github.com/VSCodium/vscodium-insiders/releases/download/${version}.${release}-insider/vscodium-reh-${os}-${arch}-${version}.${release}-insider.tar.gz'; |
22 | | -+ } |
23 | | -+}); |
24 | | -\ No newline at end of file |
0 commit comments