diff options
| author | Hiroki Tagato <tagattie@FreeBSD.org> | 2024-08-05 10:36:54 +0900 |
|---|---|---|
| committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2024-08-05 10:39:52 +0900 |
| commit | e8599d504ebc7a37afdbcbfb6bed86317ad85e71 (patch) | |
| tree | 69f85538d5bfc5068cb3f732f7275f015917ca2b /editors/vscode/files/patch-src_main.js | |
| parent | 897e94665ed9120d486a88fc39c5f24911180471 (diff) | |
editors/vscode: update to 1.92.0
Changelog: https://code.visualstudio.com/updates/v1_92
Reported by: GitHub (watch releases)
Diffstat (limited to 'editors/vscode/files/patch-src_main.js')
| -rw-r--r-- | editors/vscode/files/patch-src_main.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/editors/vscode/files/patch-src_main.js b/editors/vscode/files/patch-src_main.js index 48998fb75eca..094171e636cd 100644 --- a/editors/vscode/files/patch-src_main.js +++ b/editors/vscode/files/patch-src_main.js @@ -1,20 +1,20 @@ ---- src/main.js.orig 2024-07-09 12:51:23 UTC +--- src/main.js.orig 2024-07-31 20:26:36 UTC +++ src/main.js -@@ -140,7 +140,7 @@ if (locale) { +@@ -167,7 +167,7 @@ if (userLocale) { // Pseudo Language Language Pack is being used. // In that case, use `en` as the Electron locale. -if (process.platform === 'win32' || process.platform === 'linux') { +if (process.platform === 'win32' || process.platform === 'linux' || process.platform === 'freebsd') { - const electronLocale = (!locale || locale === 'qps-ploc') ? 'en' : locale; + const electronLocale = (!userLocale || userLocale === 'qps-ploc') ? 'en' : userLocale; app.commandLine.appendSwitch('lang', electronLocale); } -@@ -211,7 +211,7 @@ function configureCommandlineSwitchesSync(cliArgs) { +@@ -237,7 +237,7 @@ function configureCommandlineSwitchesSync(cliArgs) { 'proxy-bypass-list' ]; - if (process.platform === 'linux') { + if (process.platform === 'linux' || process.platform === 'freebsd') { + // Force enable screen readers on Linux via this flag SUPPORTED_ELECTRON_SWITCHES.push('force-renderer-accessibility'); - |
