OTAManager: Pick the right binaries on Kindles running on the Bellatrix

platform

Re: https://github.com/koreader/koreader/pull/4539#issuecomment-1411707712
reviewable/pr10071/r1
NiLuJe 1 year ago
parent c403b3bd25
commit 92ebed577b

@ -62,9 +62,9 @@ function OTAManager:_isKindleWarioOrMore()
-- but for Wario (Cortex A9), matching that to 0xc09 would work, too.
-- On the other hand, I'm already using the Hardware match in MRPI, so, that sealed the deal ;).
-- If we've got a Hardware string, check if it mentions an i.MX 6 or 7...
-- If we've got a Hardware string, check if it mentions an i.MX 6 or 7 or a MTK...
if cpu_hw then
if cpu_hw:find("i.MX%s?[6-7]") then
if cpu_hw:find("i%.MX%s?[6-7]") or cpu_hw:find("MT8110") then
return true
else
return false

Loading…
Cancel
Save