Ignore hardware media keys
This commit is contained in:
parent
e7b4b9015c
commit
91119a261a
1 changed files with 4 additions and 0 deletions
|
@ -1395,6 +1395,10 @@ function getAppLocale(): string {
|
||||||
return getEnvironment() === Environment.Test ? 'en' : app.getLocale();
|
return getEnvironment() === Environment.Test ? 'en' : app.getLocale();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Signal doesn't really use media keys so we set this switch here to unblock
|
||||||
|
// them so that other apps can use them if they need to.
|
||||||
|
app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling');
|
||||||
|
|
||||||
// This method will be called when Electron has finished
|
// This method will be called when Electron has finished
|
||||||
// initialization and is ready to create browser windows.
|
// initialization and is ready to create browser windows.
|
||||||
// Some APIs can only be used after this event occurs.
|
// Some APIs can only be used after this event occurs.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue