mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-03-22 04:06:18 +00:00
Progress towards background work replacement, work getting new NetworkManager and HttpClient up and running
This commit is contained in:
@@ -15,7 +15,7 @@ class W3DHub
|
||||
if !force_fetch && File.exist?(path)
|
||||
path
|
||||
else
|
||||
Api.fetch(uri, W3DHub::Api::DEFAULT_HEADERS, nil, backend) do |result|
|
||||
Api.fetch(path: uri, backend: backend) do |result|
|
||||
if result.okay?
|
||||
File.open(path, "wb") { |f| f.write result.data }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user