fix-emulated-urls.patch 762 B

1234567891011
  1. diff --git a/src/vs/workbench/electron-sandbox/window.ts b/src/vs/workbench/electron-sandbox/window.ts
  2. index 90c9654..3ef5d32 100644
  3. --- a/src/vs/workbench/electron-sandbox/window.ts
  4. +++ b/src/vs/workbench/electron-sandbox/window.ts
  5. @@ -257,4 +257,4 @@ export class NativeWindow extends BaseWindow {
  6. const quality = this.productService.quality;
  7. - const stableURL = 'https://code.visualstudio.com/docs/?dv=osx';
  8. - const insidersURL = 'https://code.visualstudio.com/docs/?dv=osx&build=insiders';
  9. + const stableURL = 'https://github.com/!!GH_REPO_PATH!!/releases/latest';
  10. + const insidersURL = 'https://github.com/!!GH_REPO_PATH!!-insiders/releases/latest';
  11. this.openerService.open(quality === 'stable' ? stableURL : insidersURL);