mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
OTAManager: Pick the right binaries on Kindles running on the Bellatrix
platform Re: https://github.com/koreader/koreader/pull/4539#issuecomment-1411707712
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user