Skip to content

Commit

Permalink
reader.lua: add version to ascii art (#3724)
Browse files Browse the repository at this point in the history
As suggested by @poire-z in #3723 (comment)
  • Loading branch information
Frenzie committed Mar 5, 2018
1 parent e7f705b commit d0130ae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion reader.lua
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d0130ae

Please sign in to comment.