Skip to content

Commit

Permalink
Fix keychain support check not re-run on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
personalizedrefrigerator committed Jun 20, 2024
1 parent 840ce6f commit 331bbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lib/migrations/48.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const script: Script = {
exec: async () => {
// Keychain support was added for Electron+Linux through Electron safeStorage.
// The support check needs to be re-run.
if (Setting.value('keychain.supported') === -1) {
if (Setting.value('keychain.supported') === 0) {
Setting.setValue('keychain.supported', -1);
}
await KeychainService.instance().runMigration(48);
Expand Down

0 comments on commit 331bbca

Please sign in to comment.