From 64b102ebc9743d3539b9fd36a2516156e837841f Mon Sep 17 00:00:00 2001 From: chrox Date: Thu, 16 Oct 2014 09:24:59 +0800 Subject: [PATCH] fix #992 by creating fake command line arguments --- platform/android/llapp_main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/android/llapp_main.lua b/platform/android/llapp_main.lua index 58c0e5ea1..7bc1e57f3 100644 --- a/platform/android/llapp_main.lua +++ b/platform/android/llapp_main.lua @@ -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")