Deploying to LocalMods instead of Mods
parent
fb774ff644
commit
c745a80407
|
@ -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)
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Reference in New Issue