Integrate local database management and IPC handlers into Electron

- Add comprehensive IPC handlers for database operations like books, chapters, characters, and conversations.
- Implement local database initialization and user data encryption.
- Update preload script paths for consistent environment handling.
- Modify `page.tsx` to initialize local database within Electron environment.
- Add new dependencies including `node-sqlite3-wasm` and `electron-rebuild`.
This commit is contained in:
natreex
2025-11-17 07:46:20 -05:00
parent b4eafca3bc
commit 71067c6fa8
10 changed files with 820 additions and 13 deletions

View File

@@ -20,6 +20,11 @@
"dist",
"src",
".next",
"out"
"out",
"lib",
"components",
"app",
"context",
"electron/preload.ts"
]
}