This commit is contained in:
Fedor Indutnyy 2023-12-11 11:56:05 -08:00
parent 43de1dc2bd
commit 11ea6094b2

View file

@ -1738,11 +1738,11 @@ async function getDefaultLoginItemSettings(): Promise<LoginItemSettingsOptions>
// 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.
const featuresToDisable =
`HardwareMediaKeyHandling,${app.commandLine.getSwitchValue('disable-features')}`;
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');