mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 01:02:34 +00:00
Downloading packages now works most of the time, primary download indictator is now driven by the Task
This commit is contained in:
@@ -57,8 +57,9 @@ class W3DHub
|
||||
# Create a new connection due to some weirdness somewhere in Excon
|
||||
response = Excon.post(
|
||||
"#{Api::ENDPOINT}/apis/launcher/1/get-package",
|
||||
headers: Api::DEFAULT_HEADERS.merge({"Content-Type": "application/x-www-form-urlencoded"}),
|
||||
headers: Api::DEFAULT_HEADERS.merge({ "Content-Type": "application/x-www-form-urlencoded" }),
|
||||
body: "data=#{JSON.dump({ category: category, subcategory: subcategory, name: name, version: version })}",
|
||||
chunk_size: 4_000_000,
|
||||
response_block: streamer
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user