From 9d4c2e819a46e28bd67b7196efaaeff3a13cb1c3 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Fri, 22 Nov 2024 19:01:12 +0100 Subject: [PATCH] fix(macos): update urls when using emulated app ref: #1797 --- patches/osx/fix-emulated-urls.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/osx/fix-emulated-urls.patch diff --git a/patches/osx/fix-emulated-urls.patch b/patches/osx/fix-emulated-urls.patch new file mode 100644 index 00000000000..47b9b71c4d7 --- /dev/null +++ b/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);