Redid file checking to use the provided chunked checksums, added (broken) support for partial package downloads (resumed package fails verification), misc. supporting changes.

This commit is contained in:
2021-11-17 22:34:15 -06:00
parent 2ccc09d0b4
commit 662e5c2b0c
8 changed files with 81 additions and 37 deletions

View File

@@ -22,7 +22,7 @@ class W3DHub
installer = Installer.new(app_id, channel)
@tasks.push(installer)
installer.start
# installer.start
end
def import(app_id, channel, path)
@@ -95,7 +95,7 @@ class W3DHub
end
def current_task
@tasks.find { |t| t.state == :running }
@tasks.first#find { |t| t.state == :running }
end
end
end