848c7b7aac
While here, remove obsolete target for building remote extension host. Those who want to build remote extension host can now use `make -f Makefile.reh build` instead. Changelog: https://code.visualstudio.com/updates/v1_124 Reported by: GitHub (watch releases)
21 lines
868 B
TypeScript
21 lines
868 B
TypeScript
--- src/main.ts.orig 2026-06-12 00:12:36 UTC
|
|
+++ src/main.ts
|
|
@@ -146,7 +146,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 = (!userLocale || userLocale === 'qps-ploc') ? 'en' : userLocale;
|
|
app.commandLine.appendSwitch('lang', electronLocale);
|
|
}
|
|
@@ -238,7 +238,7 @@ function configureCommandlineSwitchesSync(cliArgs: Nat
|
|
'remote-debugging-port'
|
|
];
|
|
|
|
- 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');
|