mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 02:08:57 +00:00
This commit is contained in:
@@ -1765,7 +1765,10 @@ async function getDefaultLoginItemSettings(): Promise<LoginItemSettingsOptions>
|
|||||||
|
|
||||||
// Signal doesn't really use media keys so we set this switch here to unblock
|
// 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.
|
// 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
|
// If we don't set this, Desktop will ask for access to keychain/keyring on startup
|
||||||
app.commandLine.appendSwitch('password-store', 'basic');
|
app.commandLine.appendSwitch('password-store', 'basic');
|
||||||
|
|||||||
Reference in New Issue
Block a user