Updating Your Package
You have published your mod, great! But now you want to update it, but it’s not obvious how to do so.
To update your mod, you need to simply change the version number in the Thunderstore package and upload the package, and it will be uploaded as a new version.
Updating Version (TCLI)
Section titled “Updating Version (TCLI)”If you used the PEAK Modding BepInEx Template, you can update the Version
property in your csproj
file:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <TargetFramework>netstandard2.1</TargetFramework> <AssemblyName>com.github.YourAccount.ModName</AssemblyName> <AssemblyTitle>ModName</AssemblyTitle> <Version>1.0.01.1.0</Version> </PropertyGroup> ...</Project>
This property is used in the template when calling TCLI to build or publish the package so the package always gets the correct version:
<Project> ... <Target Name="PackTS" ...> ... <Exec Command="dotnet tcli $(BuildArgument) --package-version $(Version)" /> </Target></Project>
Updating Version Manually
Section titled “Updating Version Manually”Edit your manifest.json
file and change the version number:
{ "name": "Your_mod_name", "version_number": "1.0.01.1.0", "website_url": "https://peakmodding.github.io", "description": "A mod description", "dependencies": []}
Then, rezip the mod like before and upload it! Super duper simple!