cherry-studio/scripts
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
..
__tests__ chore(i18n): Separate check-i18n and sync-i18n; add auto sort i18n (#8206) 2025-07-19 23:26:40 +08:00
after-pack.js refactor: fix asar integration (#9753) 2025-09-01 19:48:24 +08:00
artifact-build-completed.js chore(dependencies): update electron-builder to 26.0.15 (#5651) 2025-05-04 18:34:43 +08:00
auto-translate-i18n.ts feat(translate): brand new translate feature (#8513) 2025-08-11 13:33:31 +08:00
before-pack.js refactor: Improve linux build for system-ocr (#9775) 2025-09-02 12:59:14 +08:00
check-custom-exts.ts chore(languages): update languages with a script (#8445) 2025-07-24 15:57:09 +08:00
check-i18n.ts chore(i18n): forced nested structure to support i18n ally (#8457) 2025-07-25 17:36:04 +08:00
cloudflare-worker.js revert: cloudflare-worker.js 2024-12-24 17:38:30 +08:00
notarize.js fix: clean up code (#5851) 2025-05-11 00:37:01 +08:00
sort.ts chore(i18n): Separate check-i18n and sync-i18n; add auto sort i18n (#8206) 2025-07-19 23:26:40 +08:00
sync-i18n.ts chore(i18n): improve i18n translation scripts (#8441) 2025-07-24 10:21:48 +08:00
update-i18n.ts fix typo secounds (#9751) 2025-09-01 11:45:00 +08:00
update-languages.ts Revert "feat(cherry-store): add cherry store (#8683)" 2025-08-06 14:29:55 +08:00
utils.js refactor: fix asar integration (#9753) 2025-09-01 19:48:24 +08:00
version.js chore(version): 0.3.7 2024-07-26 11:04:02 +08:00
win-sign.js build: add win-sign script 2025-05-22 19:33:40 +08:00