#106 - Basic, English-only OCR
This commit is contained in:
@@ -184,7 +184,9 @@ export function getCtrlKeyLabel(): 'ctrl' | '⌘' {
|
||||
|
||||
export function isFileIndexable(path: string): boolean {
|
||||
return (
|
||||
(settings.PDFIndexing && path.endsWith('.pdf')) || isFilePlaintext(path)
|
||||
(settings.PDFIndexing && path.endsWith('.pdf')) ||
|
||||
isFilePlaintext(path) ||
|
||||
(settings.imagesIndexing && isFileImage(path))
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user