Fix sdcv on Android cannot handle morphological changes

This commit is contained in:
chrox
2015-04-22 14:27:05 +08:00
parent 932df2a2f9
commit d345f21c39
3 changed files with 13 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ A.LOGI("intent file path " .. (file or ""))
pcall(function() dofile("/sdcard/koreader/patch.lua") end)
-- set proper permission for sdcv
io.popen("chmod 755 ./sdcv")
A.execute("chmod", "755", "./sdcv")
-- create fake command-line arguments
arg = {"-d", file or "/sdcard"}