-
Notifications
You must be signed in to change notification settings - Fork 0
Home
GitUpdater is a mod that automatically updates other mods with github repos in them, both local and those from Steam.
-
Create a git repo at the root of your mod folder, where your
About
and version folders are stored. -
Create a remote repo. There are plenty of hosts like Savannah GNU, or our beloved GitHub.
-
Set the origin of the repo with
git remote add origin <repo-link-here>
-
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.
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.