add-remote-url.patch 1.2 KB

123456789101112131415161718
  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. diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js
  10. index 938943d..2d84a15 100644
  11. --- a/build/gulpfile.vscode.js
  12. +++ b/build/gulpfile.vscode.js
  13. @@ -245,3 +245,3 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
  14. const date = new Date().toISOString();
  15. - const productJsonUpdate = { commit, date, checksums, version, release };
  16. + 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' };