Force 'password-store' to 'basic' on all platforms

This commit is contained in:
Scott Nonnenberg 2022-06-15 09:40:01 -07:00 committed by GitHub
parent fbf7b939ab
commit 3b2000a0ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1552,9 +1552,9 @@ function getAppLocale(): string {
// 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');
if (OS.isLinux()) {
app.commandLine.appendSwitch('password-store', 'basic');
}
// If we don't set this, Desktop will ask for access to keychain/keyring on startup
app.commandLine.appendSwitch('password-store', 'basic');
// This method will be called when Electron has finished
// initialization and is ready to create browser windows.