persist database salt and rework config loading

This commit is contained in:
jfmonty2 committed 2026-11-13 13:43:06 -05:00
1 parent 2371486f39
commit a10510ed6e
9 files changed
+227 -76

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ pub enum AppSession {
impl AppSession {
pub fn load(config: &AppConfig) -> AppSession {
if config.db_path.exists() {
if config.db_path().exists() {
AppSession::Locked
} else {
AppSession::Empty