mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-23 08:17:34 -04:00
move Sandbox.exe and ipc files to sandbox folder
This commit is contained in:
parent
8aee706761
commit
32ef338088
5 changed files with 10 additions and 3 deletions
|
@ -6,6 +6,8 @@ class_name SandboxManager
|
|||
@export var snbx_executable: SandboxExecutable
|
||||
@export var snbx_env: SandboxEnv
|
||||
|
||||
const IPC_FOLDER := "sandbox"
|
||||
|
||||
var sandbox_pid: int
|
||||
|
||||
|
||||
|
@ -47,6 +49,8 @@ func start_sandbox_windows(gate: Gate) -> void:
|
|||
if not snbx_executable.exists():
|
||||
Debug.logerr("Sandbox executable not found at " + snbx_executable.path); return
|
||||
|
||||
DirAccess.make_dir_recursive_absolute(IPC_FOLDER) # TODO: move to snbx_env
|
||||
|
||||
var pack_file = ProjectSettings.globalize_path(gate.resource_pack)
|
||||
var shared_libs = ProjectSettings.globalize_path(gate.shared_libs_dir)
|
||||
var args = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue