mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2026-08-07 09:34:30 +02:00
Add support for beta releases to updater command-line tool.
Fix several bugs in updater. Validate images both on file size and checksum.
This commit is contained in:
@@ -368,7 +368,7 @@ local function main()
|
||||
quit(1)
|
||||
end
|
||||
|
||||
if um.findVersion(newVersion.version, stables) or um.findVersion(newVersion.version, betas) then
|
||||
if um.findVersion(newVersion.version, nil, stables) or um.findVersion(newVersion.version, nil, betas) then
|
||||
print("Error: firmware version " .. um.formatVersion(newVersion.version) .. " already exists")
|
||||
quit(3)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user