mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user