mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-25 12:20:15 +10:00
refactor: patches (#2797)
This commit is contained in:
11
patches/osx/00-ui-update-emulated-urls.patch
Normal file
11
patches/osx/00-ui-update-emulated-urls.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff --git a/src/vs/workbench/electron-browser/window.ts b/src/vs/workbench/electron-browser/window.ts
|
||||
index d507690..1abeb63 100644
|
||||
--- a/src/vs/workbench/electron-browser/window.ts
|
||||
+++ b/src/vs/workbench/electron-browser/window.ts
|
||||
@@ -251,4 +251,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/!!GH_REPO_PATH!!/releases/latest';
|
||||
+ const insidersURL = 'https://github.com/!!GH_REPO_PATH!!-insiders/releases/latest';
|
||||
this.openerService.open(quality === 'stable' ? stableURL : insidersURL);
|
||||
Reference in New Issue
Block a user