mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Setup: move templates from /Players into /Players/Templates
This commit is contained in:
4
setup.py
4
setup.py
@@ -146,7 +146,7 @@ extra_data = ["LICENSE", "data", "EnemizerCLI", "host.yaml", "SNI", "meta.yaml"]
|
|||||||
for data in extra_data:
|
for data in extra_data:
|
||||||
installfile(Path(data))
|
installfile(Path(data))
|
||||||
|
|
||||||
os.makedirs(buildfolder / "Players", exist_ok=True)
|
os.makedirs(buildfolder / "Players" / "Templates", exist_ok=True)
|
||||||
from WebHostLib.options import create
|
from WebHostLib.options import create
|
||||||
create()
|
create()
|
||||||
from worlds.AutoWorld import AutoWorldRegister
|
from worlds.AutoWorld import AutoWorldRegister
|
||||||
@@ -154,7 +154,7 @@ for worldname, worldtype in AutoWorldRegister.world_types.items():
|
|||||||
if not worldtype.hidden:
|
if not worldtype.hidden:
|
||||||
file_name = worldname+".yaml"
|
file_name = worldname+".yaml"
|
||||||
shutil.copyfile(os.path.join("WebHostLib", "static", "generated", "configs", file_name),
|
shutil.copyfile(os.path.join("WebHostLib", "static", "generated", "configs", file_name),
|
||||||
buildfolder / "Players" / file_name)
|
buildfolder / "Players" / "Templates" / file_name)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from maseya import z3pr
|
from maseya import z3pr
|
||||||
|
Reference in New Issue
Block a user