mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-23 17:17:31 -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
|
@ -45,7 +45,7 @@ func create_external_texture() -> void:
|
|||
ext_texure = ExternalTexture.new()
|
||||
var err = ext_texure.create(t_format, t_view)
|
||||
if err: Debug.logerr("Cannot create external texture")
|
||||
else: Debug.logclr("External texture created", Color.AQUAMARINE)
|
||||
else: Debug.logclr("External texture created", Color.DIM_GRAY)
|
||||
|
||||
|
||||
func send_filehandle(filehandle_path: String) -> void:
|
||||
|
|
|
@ -42,7 +42,7 @@ func start_sandbox_linux(gate: Gate) -> void:
|
|||
]
|
||||
if OS.is_stdout_verbose(): args += ["--verbose"]
|
||||
|
||||
Debug.logclr(snbx_env.start + " " + " ".join(args), Color.DARK_VIOLET)
|
||||
Debug.logclr(snbx_env.start + " " + " ".join(args), Color.DIM_GRAY)
|
||||
sandbox_pid = OS.create_process(snbx_env.start, args)
|
||||
|
||||
gate_events.gate_entered_emit()
|
||||
|
@ -63,7 +63,7 @@ func start_sandbox_windows(gate: Gate) -> void:
|
|||
if not shared_libs.is_empty(): args += ["--gdext-libs-dir", shared_libs]
|
||||
if OS.is_stdout_verbose(): args += ["--verbose"]
|
||||
|
||||
Debug.logclr(snbx_executable.path + " " + " ".join(args), Color.DARK_VIOLET)
|
||||
Debug.logclr(snbx_executable.path + " " + " ".join(args), Color.DIM_GRAY)
|
||||
sandbox_pid = OS.create_process(snbx_executable.path, args)
|
||||
|
||||
gate_events.gate_entered_emit()
|
||||
|
@ -82,7 +82,7 @@ func start_sandbox_macos(gate: Gate) -> void:
|
|||
if not shared_libs.is_empty(): args += ["--gdext-libs-dir", shared_libs]
|
||||
if OS.is_stdout_verbose(): args += ["--verbose"]
|
||||
|
||||
Debug.logclr(snbx_executable.path + " " + " ".join(args), Color.DARK_VIOLET)
|
||||
Debug.logclr(snbx_executable.path + " " + " ".join(args), Color.DIM_GRAY)
|
||||
sandbox_pid = OS.create_process(snbx_executable.path, args)
|
||||
|
||||
gate_events.gate_entered_emit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue