From c7c6c3faa533e960d52cced4191a3ee19a56a487 Mon Sep 17 00:00:00 2001 From: Jaka Date: Thu, 28 Oct 2021 12:03:58 +0200 Subject: [PATCH] update for among the ancients update --- deploy.py | 2 +- main.py | 2 +- source/filelist_template.xml | 72 ++++---- source/sunken_tapes_style_ita_template.xml | 181 ++++++++++++++++++-- source/sunken_tapes_style_template.xml | 182 ++++++++++++++++++--- source/sunken_tapes_template.xml | 16 +- 6 files changed, 372 insertions(+), 83 deletions(-) diff --git a/deploy.py b/deploy.py index 5ac176c..ff0b60d 100644 --- a/deploy.py +++ b/deploy.py @@ -242,7 +242,7 @@ def deploy(config): prepare_images(data, config) build_xml_code(data, config) - mod_directory = f"/Mods/{config['slug']}/" + mod_directory = f"/Mods/{config['name']}/" logging.info(f"removing the old installed mod directory {config['installdir'] + mod_directory}") rmfulldir(config["installdir"] + mod_directory) diff --git a/main.py b/main.py index 04c753c..7f9045d 100644 --- a/main.py +++ b/main.py @@ -96,7 +96,7 @@ def create_name_frame(container): if override_workshop.get() == "1": name.set("Sunken Tapes") name_entry["state"] = "disable" - slug.set("Sunken Tapes") + slug.set("sunken_tapes") elif override_workshop.get() == "0": name.set("Sunken Tapez") name_entry["state"] = "normal" diff --git a/source/filelist_template.xml b/source/filelist_template.xml index 4f39de6..4f60a2f 100644 --- a/source/filelist_template.xml +++ b/source/filelist_template.xml @@ -1,39 +1,39 @@ {% if config['slug'] != "Sunken Tapes" %}{% else %}{% endif %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/source/sunken_tapes_style_ita_template.xml b/source/sunken_tapes_style_ita_template.xml index 2f059f8..70480c7 100644 --- a/source/sunken_tapes_style_ita_template.xml +++ b/source/sunken_tapes_style_ita_template.xml @@ -2,19 +2,19 @@ {% if config['slug'] != "Sunken Tapes" %}{% else %}{% endif %} \ No newline at end of file diff --git a/source/sunken_tapes_style_template.xml b/source/sunken_tapes_style_template.xml index 66a6afc..55abcd8 100644 --- a/source/sunken_tapes_style_template.xml +++ b/source/sunken_tapes_style_template.xml @@ -2,19 +2,19 @@ {% if config['slug'] != "Sunken Tapes" %}{% else %}{% endif %} \ No newline at end of file diff --git a/source/sunken_tapes_template.xml b/source/sunken_tapes_template.xml index a39800a..b0470c8 100644 --- a/source/sunken_tapes_template.xml +++ b/source/sunken_tapes_template.xml @@ -12,8 +12,8 @@ - - + + @@ -22,7 +22,7 @@ - +