fix: defer secure credential loading until ready
CI / verify (push) Canceled after 0s

Load encrypted account credentials only after Electron reaches its ready state so Windows DPAPI is available during startup. Retry transient secure-storage discovery instead of caching an unavailable result for the process lifetime. Add hidden two-process DPAPI regression coverage for the real renderer IPC path and bump the public version to 2.1.40.
This commit is contained in:
Sucukdeluxe committed 2026-08-27 16:07:21 +02:00
1 parent d9c66fe20f
commit bf33ab3e99
7 files changed
+201 -6

No files matched your search

-1
View File
@@ -30,7 +30,6 @@ function getSafeStorage() {
return _safeStorageCache;
}
} catch {}
_safeStorageCache = null;
return null;
}