Stubbed out tasks system for installers

This commit is contained in:
2021-11-15 10:15:04 -06:00
parent 7fd38cd92d
commit dae620ccbd
14 changed files with 287 additions and 60 deletions

View File

@@ -42,16 +42,14 @@ class W3DHub
@progressbar.value = @fraction
if @progressbar.value >= 1.0 && @task_index == @tasks.size
push_state(
States::Interface,
account: @account,
service_status: @service_status,
applications: @applications
)
window.account = @account
window.service_status = @service_status
window.applications = @applications
push_state(States::Interface)
end
if @tasks.dig(@tasks.keys[@task_index], :started) == false
p @tasks.keys[@task_index]
@tasks[@tasks.keys[@task_index]][:started] = true
send(:"#{@tasks.keys[@task_index]}")