From 3b2000a0bad8f5ea75b4190da1ef935e2e342207 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Wed, 15 Jun 2022 09:40:01 -0700 Subject: [PATCH] Force 'password-store' to 'basic' on all platforms --- app/main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/main.ts b/app/main.ts index d4e2971ce..fb1a10d62 100644 --- a/app/main.ts +++ b/app/main.ts @@ -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.