Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion apps/desktop/src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,9 @@
title: _t("store|error|backend_no_encryption_title"),
message: _t("store|error|backend_no_encryption"),
detail: _t("store|error|backend_no_encryption_detail", {
backend: safeStorage.getSelectedStorageBackend(),
// getSelectedStorageBackend is Linux-only; elsewhere the backend we failed to use is the system keychain
// See https://www.electronjs.org/docs/latest/api/safe-storage#safestoragegetselectedstoragebackend-linux
backend: process.platform === "linux" ? safeStorage.getSelectedStorageBackend() : "system",

Check warning on line 399 in apps/desktop/src/store.ts

View workflow job for this annotation

GitHub Actions / Tests

Uncovered Line

Line 399 is not covered by tests
brand: getConfig().brand,
}),
type: "error",
Expand Down
Loading