Setup: copy LttP yaml to build automatically

This commit is contained in:
Fabian Dill 2022-04-04 10:29:02 +02:00 committed by Fabian Dill
parent 3f43051c35
commit 2f7f6a0b58
1 changed files with 2 additions and 1 deletions

View File

@ -176,7 +176,8 @@ class BuildExeCommand(cx_Freeze.dist.build_exe):
shutil.copyfile(os.path.join("WebHostLib", "static", "generated", "configs", file_name), shutil.copyfile(os.path.join("WebHostLib", "static", "generated", "configs", file_name),
self.buildfolder / "Players" / "Templates" / file_name) self.buildfolder / "Players" / "Templates" / file_name)
shutil.copyfile("meta.yaml", self.buildfolder / "Players" / "Templates" / "meta.yaml") shutil.copyfile("meta.yaml", self.buildfolder / "Players" / "Templates" / "meta.yaml")
# TODO: fix LttP options one day
shutil.copyfile("playerSettings.yaml", self.buildfolder / "Players" / "Templates" / "A Link to the Past.yaml")
try: try:
from maseya import z3pr from maseya import z3pr
except ImportError: except ImportError: