mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 01:02:34 +00:00
Added ApplicationManager::Status, DownloadManager now displays data from Status, added improved progress information to DownloadManager via Task updating its Status object
This commit is contained in:
@@ -55,10 +55,10 @@ class W3DHub
|
||||
|
||||
create_directories(path)
|
||||
|
||||
file = File.open(path, "wb")
|
||||
file = File.open(path, "ab")
|
||||
if (start_from_bytes > 0)
|
||||
headers["Range"] = "bytes=#{start_from_bytes}-#{package.size}"
|
||||
file.seek(start_from_bytes)
|
||||
file.pos = start_from_bytes
|
||||
end
|
||||
|
||||
streamer = lambda do |chunk, remaining_bytes, total_bytes|
|
||||
|
||||
Reference in New Issue
Block a user