Deploying to LocalMods instead of Mods

master
Jaka Perovšek 2022-12-17 16:48:12 +01:00
parent fb774ff644
commit c745a80407
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ def deploy(config):
prepare_images(data, config)
build_xml_code(data, config)
mod_directory = f"/Mods/{config['name']}/"
mod_directory = f"/LocalMods/{config['name']}/"
logging.info(f"removing the old installed mod directory {config['installdir'] + mod_directory}")
rmfulldir(config["installdir"] + mod_directory)

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
{% if config['slug'] != "sunken_tapes" %}<!--This mod is based on Sunken Tapes. See https://git.kompot.si/jaka/barotrauma-sunken-tapes and https://steamcommunity.com/sharedfiles/filedetails/?id=2616577901 for the source material and code generator.-->{% else %}<!--Code licensed under GPLv3 and generated with a script available at https://git.kompot.si/jaka/barotrauma-sunken-tapes-->{% endif %}
<contentpackage name="{{ config['name'] }}" path="%ModDir%/filelist.xml" corepackage="false" gameversion="0.15.12.0" {% if config['slug'] == "Sunken Tapes" %}steamworkshopid="2616577901"{% endif %}>
<contentpackage name="{{ config['name'] }}" modversion="1.0.1" corepackage="false" gameversion="0.20.15.0" {% if config['slug'] == "Sunken Tapes" %}steamworkshopid="2616577901"{% endif %}>
<Item file="%ModDir%/{{ config['slug'] }}.xml" />
<UIStyle file="%ModDir%/{{ config['slug'] }}_style.xml" />
<None file="%ModDir%/PreviewImage.png" />