|
|
@ -8,7 +8,9 @@ io.stdout:write([[
|
|
|
|
| . \ |_| | _ < __/ (_| | (_| | __/ |
|
|
|
|
| . \ |_| | _ < __/ (_| | (_| | __/ |
|
|
|
|
|_|\_\___/|_| \_\___|\__,_|\__,_|\___|_|
|
|
|
|
|_|\_\___/|_| \_\___|\__,_|\__,_|\___|_|
|
|
|
|
|
|
|
|
|
|
|
|
[*] Current time: ]], os.date("%x-%X"), "\n\n")
|
|
|
|
It's a scroll... It's a codex... It's KOReader!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[*] Current time: ]], os.date("%x-%X"), "\n")
|
|
|
|
io.stdout:flush()
|
|
|
|
io.stdout:flush()
|
|
|
|
|
|
|
|
|
|
|
|
-- load default settings
|
|
|
|
-- load default settings
|
|
|
@ -18,6 +20,9 @@ pcall(dofile, DataStorage:getDataDir() .. "/defaults.persistent.lua")
|
|
|
|
|
|
|
|
|
|
|
|
require("setupkoenv")
|
|
|
|
require("setupkoenv")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
io.stdout:write(" [*] Version: ", require("version"):getCurrentRevision(), "\n\n")
|
|
|
|
|
|
|
|
io.stdout:flush()
|
|
|
|
|
|
|
|
|
|
|
|
-- read settings and check for language override
|
|
|
|
-- read settings and check for language override
|
|
|
|
-- has to be done before requiring other files because
|
|
|
|
-- has to be done before requiring other files because
|
|
|
|
-- they might call gettext on load
|
|
|
|
-- they might call gettext on load
|
|
|
|