mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-23 08:17:34 -04:00
better logs and event names
This commit is contained in:
parent
6528dffe57
commit
83406350c0
6 changed files with 22 additions and 19 deletions
|
@ -92,6 +92,7 @@ func create_request(url: String, save_path: String, timeout: float = 0) -> int:
|
|||
var download_request = DownloadRequest.new(save_path, http, timer)
|
||||
download_requests.append(download_request)
|
||||
|
||||
Debug.logclr("Downloading " + url, Color.GRAY)
|
||||
var err = http.request(url)
|
||||
if err != OK: return err
|
||||
var code = (await http.request_completed)[1]
|
||||
|
|
|
@ -28,7 +28,7 @@ func load_gate(config_url: String) -> void:
|
|||
gate.resource_pack = await FileDownloader.download(c_gate.resource_pack_url)
|
||||
if gate.resource_pack.is_empty(): return error(GateEvents.GateError.MISSING_PACK)
|
||||
|
||||
Debug.logclr("Downloading GDExtension libraries: " + str(c_gate.libraries), Color.DIM_GRAY)
|
||||
Debug.logclr("GDExtension libraries: " + str(c_gate.libraries), Color.DIM_GRAY)
|
||||
for lib in c_gate.libraries:
|
||||
gate.shared_libs_dir = await FileDownloader.download_shared_lib(lib, config_url)
|
||||
if gate.shared_libs_dir.is_empty(): return error(GateEvents.GateError.MISSING_LIBS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue