mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-02-10 21:03:32 +08:00
This commit refactors the PreferenceService to use named exports for better consistency and updates the DbService import accordingly. It introduces a testing mechanism for the PreferenceService by creating test windows to facilitate cross-window preference synchronization testing. Additionally, improvements are made to the usePreference hook for better performance and stability, ensuring efficient preference management in the application. |
||
|---|---|---|
| .. | ||
| configs | ||
| data | ||
| integration/nutstore/sso/lib | ||
| knowledge | ||
| mcpServers | ||
| services | ||
| utils | ||
| bootstrap.ts | ||
| config.ts | ||
| constant.ts | ||
| electron.d.ts | ||
| env.d.ts | ||
| index.ts | ||
| ipc.ts | ||