cherry-studio/src/main
fullex 2e77792042
fix[Logger]: in renderer worker (#8284)
* docs: enhance LoggerService documentation and usage guidelines

- Added details about `initWindowSource` method, emphasizing its return of the LoggerService instance for method chaining.
- Introduced a section on using LoggerService within `worker` threads, highlighting the need to call `initWindowSource` first.
- Updated both English and Chinese documentation files to reflect these changes, ensuring clarity in usage instructions for developers.

* docs: update LoggerService documentation and improve environment checks

- Enhanced documentation for using LoggerService in worker threads, clarifying logging support limitations in main and renderer processes.
- Added environment checks for development and production modes directly in the LoggerService.
- Removed the unused env utility file to streamline the codebase.

* refactor(ShikiStreamService): update highlighter management and improve test assertions

- Modified the highlighter management in ShikiStreamService to clear the reference instead of disposing it directly, as it is now managed by AsyncInitializer.
- Enhanced unit tests to verify the initialization of worker and main highlighters, ensuring that either one is active but not both, and updated assertions related to highlighter disposal.
2025-07-19 15:28:36 +08:00
..
configs feat: SelectionAssistant macOS version / 划词助手macOS版 (#7561) 2025-07-03 14:31:31 +08:00
integration/nutstore/sso/lib build: remove sentry integration 2025-04-24 11:48:53 +08:00
knowledage refactor[Logger]: replace console logging with logger service (#8271) 2025-07-18 16:01:03 +08:00
knowledge refactor: Unified Logger / 统一日志管理 (#8207) 2025-07-18 09:40:56 +08:00
mcpServers refactor: Unified Logger / 统一日志管理 (#8207) 2025-07-18 09:40:56 +08:00
services fix[Logger]: in renderer worker (#8284) 2025-07-19 15:28:36 +08:00
utils fix(ipc): add support for portable executable paths on Windows (#8274) 2025-07-18 18:54:31 +08:00
bootstrap.ts feat: Implement occupied directories handling during data copy (#7485) 2025-06-25 00:39:28 +08:00
config.ts feat: Add app data path selection and relaunch functionality (#6096) 2025-06-18 17:39:26 +08:00
constant.ts feat: support portable config dir (#5039) 2025-04-24 17:23:56 +08:00
electron.d.ts feat: add the ability to display the application in tray #297 2024-11-09 08:42:09 +08:00
env.d.ts feat: added vite_main_bundle_id config and improved code cleanliness 2024-09-15 10:35:02 +08:00
index.ts refactor[Logger]: replace console logging with logger service (#8271) 2025-07-18 16:01:03 +08:00
ipc.ts fix(ipc): add support for portable executable paths on Windows (#8274) 2025-07-18 18:54:31 +08:00