[feat] Update check (#4620)

The concept is quite simple: stick a file on the OTA server named
something like `koreader-appimage-latest-stable` (by analogy with
`koreader-cervantes-latest-stable.zsync`), which contains nothing
but a filename.

The difference with the zsync update is that the link is then launched
in the user's browser (AppImage) or DownloadManager (Android, not yet
implemented).

* Android hasOTAUpdate = no for the moment
This commit is contained in:
Frans de Jonge
2019-02-21 08:26:48 +01:00
committed by GitHub
parent 35ea8893fb
commit 8e5c1addf5
3 changed files with 177 additions and 126 deletions

View File

@@ -21,7 +21,7 @@ local Device = Generic:new{
display_dpi = android.lib.AConfiguration_getDensity(android.app.config),
hasClipboard = yes,
hasColorScreen = yes,
hasOTAUpdates = yes,
hasOTAUpdates = no,
}
function Device:init()