aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/index.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/index.ts b/src/index.ts
index c765bac73..e466b4ab1 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -455,12 +455,8 @@ if (argv['auth-negotiate-delegate-whitelist']) {
455 ); 455 );
456} 456}
457 457
458// Disable Chromium's poor MPRIS implementation 458// Apply workaround for https://github.com/electron/electron/pull/26432
459// and apply workaround for https://github.com/electron/electron/pull/26432 459app.commandLine.appendSwitch('disable-features', 'CrossOriginOpenerPolicy');
460app.commandLine.appendSwitch(
461 'disable-features',
462 'HardwareMediaKeyHandling,MediaSessionService,CrossOriginOpenerPolicy',
463);
464 460
465// This method will be called when Electron has finished 461// This method will be called when Electron has finished
466// initialization and is ready to create browser windows. 462// initialization and is ready to create browser windows.