mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
kopt: honor TESSDATA_PREFIX environment variable
Don't override it by default, but honor it if present.
This commit is contained in:
committed by
Frans de Jonge
parent
14519bc076
commit
10e6f489d0
@@ -16,9 +16,6 @@ end
|
||||
-- path to primary external storage partition
|
||||
local path = android.getExternalStoragePath()
|
||||
|
||||
-- set TESSDATA_PREFIX env var
|
||||
C.setenv("TESSDATA_PREFIX", path.."/koreader/data", 1)
|
||||
|
||||
-- create fake command-line arguments
|
||||
-- luacheck: ignore 121
|
||||
if android.isDebuggable() then
|
||||
|
||||
Reference in New Issue
Block a user