Force Python 3 and use proper dylib

This commit is contained in:
2023-05-04 15:40:56 +02:00
parent bec727743e
commit 4b9f57087b
5 changed files with 20 additions and 23 deletions

View File

@@ -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("python -m SCons && python -m SCons target=template_release && cd project && godot")
os.system("python3 -m SCons && python3 -m SCons target=template_release && cd project && godot")
elif choice in no:
if os.name == 'nt':
os.system(
"python -m SCons && python -m SCons target=template_release && godot project\project.godot")
"python3 -m SCons && python3 -m SCons target=template_release && godot project\project.godot")
else:
os.system(
"python -m SCons && python -m SCons target=template_release && godot project/project.godot")
"python3 -m SCons && python3 -m SCons target=template_release && godot project/project.godot")
else:
sys.stdout.write("Please respond with 'yes' or 'no'")