enhance: remove sqlite usage from Electron

Use periodic db export instead. Manual saving db to the disk can be
triggered by `mod+s`.
This commit is contained in:
Tienson Qin
2024-06-14 23:56:53 +08:00
parent 0f122e9a7e
commit 4cca2e5f69
11 changed files with 57 additions and 54 deletions

View File

@@ -146,7 +146,6 @@
(fn [^js data]
(state/set-state! :electron/server (bean/->clj data))))
(safe-api-call "handbook"
(fn [^js data]
(when-let [k (and data (.-key data))]