mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Drafted async-http downloader, fixed not correctly fetching icons at startup
This commit is contained in:
@@ -542,8 +542,6 @@ class W3DHub
|
||||
def package_fetch(package, &block)
|
||||
puts "Downloading: #{package.category}:#{package.subcategory}:#{package.name}-#{package.version}"
|
||||
|
||||
internet = Async::HTTP::Internet.instance
|
||||
|
||||
Api.package(package) do |chunk, remaining_bytes, total_bytes|
|
||||
block&.call(chunk, remaining_bytes, total_bytes)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user