mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[fix, Kindle] Fix i.MX 6/7 detection pattern (#4539)
Some variants have a space before the number, others don't :/. Followup to #4475
This commit is contained in:
@@ -60,7 +60,7 @@ function OTAManager:_isKindleWarioOrMore()
|
||||
|
||||
-- If we've got a Hardware string, check if it mentions an i.MX 6 or 7...
|
||||
if cpu_hw then
|
||||
if cpu_hw:find("i.MX [6-7]") then
|
||||
if cpu_hw:find("i.MX%s?[6-7]") then
|
||||
return true
|
||||
else
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user