MacOS support

This commit is contained in:
Nordup 2024-07-11 00:55:41 +04:00
parent 643f750156
commit 644a8bb969
7 changed files with 45 additions and 6 deletions

View file

@ -7,6 +7,9 @@ class_name SandboxExecutable
@export var windows: String
@export var windows_debug: String
@export var macos: String
@export var macos_debug: String
var path: String :
get = get_executable_path
@ -24,6 +27,8 @@ func get_filename() -> String:
return windows_debug if is_debug else windows
Platform.LINUX_BSD:
return linux_debug if is_debug else linux
Platform.MACOS:
return macos_debug if is_debug else macos
_:
assert(false, "Platform is not supported")
return ""