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
3
app/.gitignore
vendored
3
app/.gitignore
vendored
|
@ -1,2 +1,5 @@
|
|||
# Godot 4+ specific ignores
|
||||
.godot/
|
||||
|
||||
# for ipc files (inter process communication)
|
||||
sandbox/
|
|
@ -9,4 +9,4 @@ Otherwise Windows will downscale 32x32 image to 24x24 <br/>
|
|||
**Windows Native Icon** in project settings <br/>
|
||||
`toolbar_icon.ico - 16x16, 24x24, 32x32` <br/>
|
||||
|
||||
Refer to: https://learn.microsoft.com/en-us/windows/win32/uxguide/vis-icons
|
||||
Refer to: https://learn.microsoft.com/en-us/windows/win32/uxguide/vis-icons
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
script = ExtResource("1_q0dqh")
|
||||
linux = "sandbox/Sandbox.x86_64"
|
||||
linux_debug = "godot.linuxbsd.template_debug.dev.sandbox.x86_64.llvm"
|
||||
windows = "Sandbox.exe"
|
||||
windows = "sandbox/Sandbox.exe"
|
||||
windows_debug = "godot.windows.template_debug.dev.sandbox.x86_64.exe"
|
||||
|
|
|
@ -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 = [
|
||||
|
|
2
godot
2
godot
|
@ -1 +1 @@
|
|||
Subproject commit 2ff9ee5a145b789c179e5e255378ab12e6d37238
|
||||
Subproject commit 29d6d651a6dd28c0a132a97de65098a7a13e145c
|
Loading…
Add table
Add a link
Reference in a new issue