mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-07-06 16:11:31 +00:00

- Added logging to `cleanClipboard` to indicate the number of clipboard entries older than a specified number of days. - Introduced a new utility function `vacuumSqlite` for database maintenance, which is now called during app initialization. - Updated the `init` function to await the completion of `cleanClipboard` and `vacuumSqlite` for better error handling and flow control. - Ensured that the console attachment in `onMount` is awaited for proper synchronization.
Kunkun Desktop App
Rules
- Keep all components as modular as possible
- Don't use global store directly in components, pass them through context or props instead
- The components may be exported as a package and used by other projects such as docs, extension