mirror of https://github.com/koreader/koreader
fix #992 by creating fake command line arguments
parent
0f40042e57
commit
64b102ebc9
@ -1,5 +1,6 @@
|
||||
local A = require("android")
|
||||
A.dl.library_path = A.dl.library_path .. ":" .. A.dir .. "/libs"
|
||||
|
||||
ARGV = {"-d", "/sdcard"}
|
||||
-- create fake command-line arguments
|
||||
arg = {"-d", "/sdcard"}
|
||||
dofile(A.dir.."/reader.lua")
|
||||
|
Loading…
Reference in New Issue