From 68c52bac87b5333bfb6605790cec501ed7367a28 Mon Sep 17 00:00:00 2001 From: Yannik <80621863+vaporvee@users.noreply.github.com> Date: Wed, 26 Apr 2023 11:51:37 +0200 Subject: [PATCH] build script should now work under linux if it builds lol --- build.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 5f78bec..45591a3 100644 --- a/build.py +++ b/build.py @@ -13,7 +13,11 @@ else: if choice in yes: os.system("scons && scons target=template_release && cd project && godot") elif choice in no: - os.system( - "scons && scons target=template_release && godot project\project.godot") + if os.name == 'nt': + os.system( + "scons && scons target=template_release && godot project\project.godot") + else: + os.system( + "scons && scons target=template_release && godot project/project.godot") else: sys.stdout.write("Please respond with 'yes' or 'no'")