reader.lua: add version to ascii art (#3724)

As suggested by @poire-z in https://github.com/koreader/koreader/pull/3723#issuecomment-370557018
This commit is contained in:
Frans de Jonge
2018-03-05 23:27:03 +01:00
committed by GitHub
parent e7f705bf10
commit d0130ae9da

View File

@@ -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()
-- load default settings
@@ -18,6 +20,9 @@ pcall(dofile, DataStorage:getDataDir() .. "/defaults.persistent.lua")
require("setupkoenv")
io.stdout:write(" [*] Version: ", require("version"):getCurrentRevision(), "\n\n")
io.stdout:flush()
-- read settings and check for language override
-- has to be done before requiring other files because
-- they might call gettext on load