mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
refatoring: lazy loading of packages
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!./koreader-base
|
||||
#!./luajit
|
||||
|
||||
require "defaults"
|
||||
pcall(dofile, "defaults.persistent.lua")
|
||||
@@ -100,6 +100,7 @@ local function showusage()
|
||||
return
|
||||
end
|
||||
|
||||
local ARGV = arg
|
||||
local argidx = 1
|
||||
while argidx <= #ARGV do
|
||||
local arg = ARGV[argidx]
|
||||
|
||||
Reference in New Issue
Block a user