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

As suggested by @poire-z in https://github.com/koreader/koreader/pull/3723#issuecomment-370557018
pull/3726/head
Frans de Jonge 6 years ago committed by GitHub
parent e7f705bf10
commit d0130ae9da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save