mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Version log and (limited) notifications log (#10178)
This PR will close #1257 and #3418.
This commit is contained in:
@@ -26,7 +26,8 @@ local userpatch = require("userpatch")
|
||||
userpatch.applyPatches(userpatch.early_once)
|
||||
userpatch.applyPatches(userpatch.early)
|
||||
|
||||
io.write(" [*] Version: ", require("version"):getCurrentRevision(), "\n\n")
|
||||
local Version = require("version")
|
||||
io.write(" [*] Version: ", Version:getCurrentRevision(), "\n\n")
|
||||
|
||||
-- Load default settings
|
||||
G_defaults = require("luadefaults"):open()
|
||||
@@ -185,6 +186,9 @@ end
|
||||
local CanvasContext = require("document/canvascontext")
|
||||
CanvasContext:init(Device)
|
||||
|
||||
-- Update the version log file if there was an update or the device has changed
|
||||
Version:updateVersionLog(Device.model)
|
||||
|
||||
-- Handle one time migration stuff (settings, deprecation, ...) in case of an upgrade...
|
||||
require("ui/data/onetime_migration")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user