mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-23 19:40:14 +10:00
fix(macos): update urls when using emulated app (#2122)
This commit is contained in:
11
patches/osx/fix-emulated-urls.patch
Normal file
11
patches/osx/fix-emulated-urls.patch
Normal file
@@ -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);
|
||||||
Reference in New Issue
Block a user