1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-13 00:10:37 +02:00

Desktop: Resolves #10835: Allow specifying custom language data URLs (#10846)

This commit is contained in:
Henry Heino
2024-08-09 03:29:39 -07:00
committed by GitHub
parent 6ce55a5737
commit 806377e6ee
9 changed files with 108 additions and 13 deletions

View File

@ -1073,7 +1073,7 @@ const simulateReadOnlyShareEnv = (shareId: string, store?: Store) => {
};
export const newOcrService = () => {
const driver = new OcrDriverTesseract({ createWorker });
const driver = new OcrDriverTesseract({ createWorker }, { workerPath: null, corePath: null, languageDataPath: null });
return new OcrService(driver);
};