Fix for OTA updates w/ zsync (#12120)

Fixes #12115
This commit is contained in:
Martín Fernández
2024-06-29 08:06:46 +02:00
committed by GitHub
parent 388a27336d
commit 0faccff9bc

View File

@@ -84,6 +84,10 @@ function OTAManager:getFilename(kind)
end
end
function OTAManager:getZsyncFilename()
return self:getFilename("ota")
end
function OTAManager:checkUpdate()
if Device:isDeprecated() then return -1 end
local http = require("socket.http")