mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Don't grab media key controls
This commit is contained in:
parent
52e5522f11
commit
1e19b808f9
1 changed files with 8 additions and 0 deletions
|
@ -63,7 +63,15 @@ if (!app.requestSingleInstanceLock()) {
|
|||
}
|
||||
}
|
||||
*/
|
||||
// work around chrome 66 disabling autoplay by default
|
||||
app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required");
|
||||
|
||||
// WinRetrieveSuggestionsOnlyOnDemand: Work around electron 13 bug w/ async spellchecking on Windows.
|
||||
// HardwareMediaKeyHandling,MediaSessionService: Prevent Discord from registering as a media service.
|
||||
app.commandLine.appendSwitch(
|
||||
"disable-features",
|
||||
"WinRetrieveSuggestionsOnlyOnDemand,HardwareMediaKeyHandling,MediaSessionService"
|
||||
);
|
||||
checkForDataFolder();
|
||||
checkIfConfigExists();
|
||||
injectElectronFlags();
|
||||
|
|
Loading…
Reference in a new issue