build script should now work under linux if it builds lol

This commit is contained in:
Yannik
2023-04-26 11:51:37 +02:00
parent 85e8aeb3ee
commit 68c52bac87

View File

@@ -13,7 +13,11 @@ else:
if choice in yes:
os.system("scons && 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")
else:
os.system(
"scons && scons target=template_release && godot project/project.godot")
else:
sys.stdout.write("Please respond with 'yes' or 'no'")