build exe

This commit is contained in:
user 2024-12-13 10:47:49 +03:00
parent b94d7ab1e5
commit 23dc112f2a
1 changed files with 4 additions and 1 deletions

5
run.py
View File

@ -64,10 +64,13 @@ pybullet_command = [
"run",
"python",
"utils/pybullet_server.py",
] if command_type == 'local' else 'pybullet_server.exe'
] if command_type == 'local' else ['pybullet_server.exe']
# Если включен режим тестирования, добавляем флаг --test
if args.bullet_gui:
# if type(pybullet_command) is str:
# pybullet_command += '--test'
# else:
pybullet_command.append("--test")
# Запуск pybullet_server.exe