diff --git a/app/main.ts b/app/main.ts index daef880b3c..38892eb23a 100644 --- a/app/main.ts +++ b/app/main.ts @@ -1765,7 +1765,10 @@ async function getDefaultLoginItemSettings(): Promise // 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'); +const featuresToDisable = `HardwareMediaKeyHandling,${app.commandLine.getSwitchValue( + 'disable-features' +)}`; +app.commandLine.appendSwitch('disable-features', featuresToDisable); // If we don't set this, Desktop will ask for access to keychain/keyring on startup app.commandLine.appendSwitch('password-store', 'basic');