cherry-studio/src/main
beyondkmp 5ce7261678
refactor: Improve linux build for system-ocr (#9775)
* refactor(ocr): streamline OCR service registration and improve image preprocessing

- Simplified the registration of the system OCR service by removing the conditional check for Linux.
- Updated SystemOcrService to directly import necessary modules, enhancing clarity.
- Refactored image preprocessing to use a static import of the 'sharp' library for better performance.

* add patch for system-ocr

* add patch

* add patch again

* add patch

* delete setting

* delete i18n

* lint error

* add isLinux

* Revert "delete i18n"

This reverts commit 173e65bbd0.

* Revert "delete setting"

This reverts commit de39c76f83.

* fix: add system check for error message

---------

Co-authored-by: icarus <eurfelux@gmail.com>
2025-09-02 12:59:14 +08:00
..
configs fix[SelectionAssistant]: shift+click behavior in macOS and clipboard behavior in Windows (#8390) 2025-07-23 17:24:26 +08:00
integration feat: add cherryin provider (#9681) 2025-08-30 20:09:35 +08:00
knowledge fix: remove Content-Length header and add duplex option in putFile (#9576) 2025-08-27 12:07:57 +08:00
mcpServers fix: mcp-auto-install cannot start (#9015) 2025-08-27 22:46:42 +08:00
services refactor: Improve linux build for system-ocr (#9775) 2025-09-02 12:59:14 +08:00
utils refactor: Improve linux build for system-ocr (#9775) 2025-09-02 12:59:14 +08:00
bootstrap.ts refactor: move initAppDataDir function to a new utils module (#8337) 2025-07-21 15:46:14 +08:00
config.ts feat: add cherryin provider (#9681) 2025-08-30 20:09:35 +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 feat: enable additional GPU channel features and improve crash reportdetails in renderer (#8819) 2025-08-04 18:45:17 +08:00
ipc.ts fix(ipc): check mainWindow in ipc handler (#9712) 2025-08-31 20:41:32 +08:00