From c584d1bbed3bc1587054c7bbb3628affceb59b42 Mon Sep 17 00:00:00 2001 From: vaporvee Date: Tue, 2 May 2023 12:38:07 +0200 Subject: [PATCH] improved build script --- build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.py b/build.py index 45591a3..5f9ddff 100644 --- a/build.py +++ b/build.py @@ -11,13 +11,13 @@ 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 && scons target=template_release && cd project && godot") + os.system("python -m SCons && python -m SCons target=template_release && cd project && godot") elif choice in no: if os.name == 'nt': os.system( - "scons && scons target=template_release && godot project\project.godot") + "python -m SCons && python -m SCons target=template_release && godot project\project.godot") else: os.system( - "scons && scons target=template_release && godot project/project.godot") + "python -m SCons && python -m SCons target=template_release && godot project/project.godot") else: sys.stdout.write("Please respond with 'yes' or 'no'")