Ver código fonte

fix(macos): update urls when using emulated app (#2122)

Baptiste Augrain 6 meses atrás
pai
commit
7ca11a2b2e
1 arquivos alterados com 11 adições e 0 exclusões
  1. 11 0
      patches/osx/fix-emulated-urls.patch

+ 11 - 0
patches/osx/fix-emulated-urls.patch

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