Fix for OTA updates w/ zsync (#12120)

Fixes #12115
This commit is contained in:
Martín Fernández authored and GitHub committed 2024-06-29 08:06:46 +02:00
1 parent 388a27336d
commit 0faccff9bc
1 file changed
+4
+4
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")