mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 02:17:27 -04:00
handle query strings, pass gate url to child process
This commit is contained in:
parent
55718913c4
commit
12eb00bccc
5 changed files with 44 additions and 26 deletions
|
@ -43,6 +43,7 @@ func start_sandbox_linux(gate: Gate) -> Dictionary:
|
|||
var args = [
|
||||
"--main-pack", pack_file,
|
||||
"--resolution", "%dx%d" % [render_result.width, render_result.height],
|
||||
"--url", gate.url,
|
||||
"--verbose"
|
||||
]
|
||||
if not shared_libs.is_empty(): args += ["--gdext-libs-dir", shared_libs]
|
||||
|
@ -62,6 +63,7 @@ func start_sandbox_windows(gate: Gate) -> Dictionary:
|
|||
var args = [
|
||||
"--main-pack", pack_file,
|
||||
"--resolution", "%dx%d" % [render_result.width, render_result.height],
|
||||
"--url", gate.url,
|
||||
"--verbose"
|
||||
]
|
||||
if not shared_libs.is_empty(): args += ["--gdext-libs-dir", shared_libs]
|
||||
|
@ -79,6 +81,7 @@ func start_sandbox_macos(gate: Gate) -> Dictionary:
|
|||
var args = [
|
||||
"--main-pack", pack_file,
|
||||
"--resolution", "%dx%d" % [render_result.width, render_result.height],
|
||||
"--url", gate.url,
|
||||
"--verbose"
|
||||
]
|
||||
if not shared_libs.is_empty(): args += ["--gdext-libs-dir", shared_libs]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue