fix #992 by creating fake command line arguments

pull/1000/head
chrox 10 years ago
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…
Cancel
Save