Disabled HardwareMediaKeyHandling, fixes vector-im/element-web#15704

Signed-off-by: Tom Van Eyck <tom.vaneyck@telenet.be>
This commit is contained in:
Tom Van Eyck 2021-04-02 16:27:32 +02:00
parent 100f08161d
commit cdbda52d9a

View file

@ -814,6 +814,8 @@ protocol.registerSchemesAsPrivileged([{
// transition into the user's browser.
app.enableSandbox();
app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling,MediaSessionService');
app.on('ready', async () => {
try {
await setupGlobals();