[fix, Kindle] Fix i.MX 6/7 detection pattern (#4539)

Some variants have a space before the number, others don't :/.

Followup to #4475
pull/4542/head v2019.02
NiLuJe 5 years ago committed by Frans de Jonge
parent 8207e4bdf2
commit 27b6c1546a

@ -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

Loading…
Cancel
Save