xmake things

This commit is contained in:
2024-08-13 19:59:33 +02:00
parent 436e9a27c5
commit 083bf2f04d
2 changed files with 27 additions and 5 deletions

View File

@@ -41,8 +41,9 @@ target(PROJECT_NAME)
on_run(
(function(godot_project_folder)
return function(target)
os.execv("echo", {"godot --path", godot_project_folder})
os.exec("godot --path " .. godot_project_folder)
local cmd = format("godot --path %s", godot_project_folder)
os.execv("echo", {cmd})
os.exec(cmd)
end
end)(GODOT_PROJECT_FOLDER)
)