added release to build script

This commit is contained in:
Yannik
2023-04-23 12:15:18 +02:00
parent 29c02c34a2
commit 198f496c7f

View File

@@ -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'")