mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Fixed error preventing GSH client from working, moved server list starting task ahead of other tasks to ensure server list _can_ populate if other parts of the backend are dead
This commit is contained in:
@@ -87,7 +87,7 @@ class W3DHub
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.post(url, headers = DEFAULT_HEADERS, body = nil, api = :api)
|
def self.post(url, headers = DEFAULT_HEADERS, body = nil, api = :api)
|
||||||
excon(:post, url, headers, body)
|
excon(:post, url, headers, body, api)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Method: POST
|
# Method: POST
|
||||||
|
|||||||
@@ -12,11 +12,11 @@ class W3DHub
|
|||||||
@w3dhub_logo = get_image("#{GAME_ROOT_PATH}/media/icons/app.png")
|
@w3dhub_logo = get_image("#{GAME_ROOT_PATH}/media/icons/app.png")
|
||||||
@tasks = {
|
@tasks = {
|
||||||
# connectivity_check: { started: false, complete: false }, # HEAD connectivity-check.ubuntu.com or HEAD secure.w3dhub.com?
|
# connectivity_check: { started: false, complete: false }, # HEAD connectivity-check.ubuntu.com or HEAD secure.w3dhub.com?
|
||||||
|
server_list: { started: false, complete: false },
|
||||||
refresh_user_token: { started: false, complete: false },
|
refresh_user_token: { started: false, complete: false },
|
||||||
service_status: { started: false, complete: false },
|
service_status: { started: false, complete: false },
|
||||||
applications: { started: false, complete: false },
|
applications: { started: false, complete: false },
|
||||||
app_icons: { started: false, complete: false },
|
app_icons: { started: false, complete: false }
|
||||||
server_list: { started: false, complete: false }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@offline_mode = false
|
@offline_mode = false
|
||||||
|
|||||||
Reference in New Issue
Block a user