Ajout d'un fichier pour lancer le jeu facilement

This commit is contained in:
Tipragot 2024-01-07 09:10:22 +01:00
parent ea70c297b2
commit ed60eb8b3a

6
launch.py Normal file
View file

@ -0,0 +1,6 @@
import subprocess as sp
import os
folder_path = __file__.replace("\\", "/")[:-10]
os.chdir(folder_path)
sp.call(f'python "{folder_path}/src/main.py"')