Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,13 @@ function configureCommandlineSwitchesSync(cliArgs: NativeParsedArgs) {
// use up to 2
app.commandLine.appendSwitch('max-active-webgl-contexts', '32');

// Disable Bluetooth on Linux to prevent BlueZ connection on startup
// refs https://github.com/microsoft/vscode/issues/134461
// Users can opt-in with --enable-bluetooth CLI flag
if (process.platform === 'linux' && !app.commandLine.hasSwitch('enable-bluetooth') && !app.commandLine.hasSwitch('disable-bluetooth')) {
app.commandLine.appendSwitch('disable-bluetooth');
}

return argvConfig;
}

Expand Down