Skip to content
James edited this page May 5, 2022 · 3 revisions

Welcome to the GitUpdater wiki!

What is GitUpdater?

GitUpdater is a mod that automatically updates other mods with github repos in them, both local and those from Steam.

How can I add support for this mod?

  1. Create a git repo at the root of your mod folder, where your About and version folders are stored.

  2. Create a remote repo. There are plenty of hosts like Savannah GNU, or our beloved GitHub.

  3. Set the origin of the repo with git remote add origin <repo-link-here>

  4. Add your files, commit the addition, then push to your repo with git push --set-upstream origin <branchname>

    a. If you happen to have files in the remote repo before the push, pull from origin with the flag --allow-unrelated-histories, then push.

I want to modify the code!

This program is under an MIT License. You are free to modify as you see fit.

The mod starts at UpdaterMod.cs. GitUpdaterCore.cs contains logging and the basic features needed for the mod. VerseExtensions.cs adds static functions to help with UI.