aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2023-12-07 22:51:03 -0700
committerLibravatar GitHub <noreply@github.com>2023-12-07 22:51:03 -0700
commita7ad7becd5114de4db88589824b18651d766bf7d (patch)
treed10859eb399fc69047358745d26c757eabba74c6 /src
parentrefactor: code cleanup (#1476) (diff)
downloadferdium-app-a7ad7becd5114de4db88589824b18651d766bf7d.tar.gz
ferdium-app-a7ad7becd5114de4db88589824b18651d766bf7d.tar.zst
ferdium-app-a7ad7becd5114de4db88589824b18651d766bf7d.zip
fix: disabled media key support (#1477)
- re-enable media keys feature which was disabled per chromium commandline switch
Diffstat (limited to 'src')
-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.