mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Task now ask Interface to update task status instead of just doing it themselves whenever they want, stubbed apply_patch method, moved unpacking into its own method
This commit is contained in:
@@ -53,14 +53,10 @@ class W3DHub
|
||||
@operations_container = stack(width: 1.0, height: 0.9, padding: 8, scroll: true) do
|
||||
# TODO: Show actual list of downloads
|
||||
|
||||
p ["DOWNLOAD MANAGER", task.status.operations.size]
|
||||
|
||||
i = -1
|
||||
task.status.operations.each do |key, operation|
|
||||
i += 1
|
||||
|
||||
p [key, operation.label]
|
||||
|
||||
stack(width: 1.0, height: 24, padding: 8) do
|
||||
background 0xff_333333 if i.odd?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user