[fix, Android] Set executable bit (#5349)

Partially reverts d2536d8b7e.

Fixes <https://github.com/koreader/koreader/issues/5347>.
pull/5350/head
Frans de Jonge 5 years ago committed by GitHub
parent 07116b9898
commit 3fa4087fe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,6 +15,13 @@ end
-- run koreader patch before koreader startup
pcall(dofile, "/sdcard/koreader/patch.lua")
-- Set proper permission for binaries.
--- @todo Take care of this on extraction instead.
-- Cf. <https://github.com/koreader/koreader/issues/5347#issuecomment-529476693>.
android.execute("chmod", "755", "./sdcv")
android.execute("chmod", "755", "./tar")
android.execute("chmod", "755", "./zsync")
-- set TESSDATA_PREFIX env var
C.setenv("TESSDATA_PREFIX", "/sdcard/koreader/data", 1)

Loading…
Cancel
Save