From 198f496c7f57fabcc6d078672b84b0a447c0baa5 Mon Sep 17 00:00:00 2001 From: Yannik <80621863+vaporvee@users.noreply.github.com> Date: Sun, 23 Apr 2023 12:15:18 +0200 Subject: [PATCH] added release to build script --- build.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 7cb59da..5f78bec 100644 --- a/build.py +++ b/build.py @@ -11,8 +11,9 @@ else: "Do you want to open only the built project instead of the Godot Editor after building? ([y]es/[n]o): ") choice = input().lower() if choice in yes: - os.system("scons && cd project && godot") + os.system("scons && scons target=template_release && cd project && godot") elif choice in no: - os.system("scons && godot project\project.godot") + os.system( + "scons && scons target=template_release && godot project\project.godot") else: sys.stdout.write("Please respond with 'yes' or 'no'")