Setup: move templates from /Players into /Players/Templates

This commit is contained in:
Fabian Dill 2021-12-03 07:01:43 +01:00
parent e7d8149d74
commit 47c1300f30
1 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ extra_data = ["LICENSE", "data", "EnemizerCLI", "host.yaml", "SNI", "meta.yaml"]
for data in extra_data:
installfile(Path(data))
os.makedirs(buildfolder / "Players", exist_ok=True)
os.makedirs(buildfolder / "Players" / "Templates", exist_ok=True)
from WebHostLib.options import create
create()
from worlds.AutoWorld import AutoWorldRegister
@ -154,7 +154,7 @@ for worldname, worldtype in AutoWorldRegister.world_types.items():
if not worldtype.hidden:
file_name = worldname+".yaml"
shutil.copyfile(os.path.join("WebHostLib", "static", "generated", "configs", file_name),
buildfolder / "Players" / file_name)
buildfolder / "Players" / "Templates" / file_name)
try:
from maseya import z3pr