Skip to content

Commit bdcd18e

Browse files
committed
Restore media button functionality
1 parent f0443a6 commit bdcd18e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ app.on('second-instance', (commandLine, workingDirectory) => {
5858
})
5959

6060
app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required')
61+
app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling')
6162

6263
app.on('ready', function appReady () {
6364
menu.init()

0 commit comments

Comments
 (0)