Automatically updates mods with git repositories, both those in RimWorld's Mods folder as well as, if enabled, ones from the Steam Workshop.
It works right out of the box!
When it's in your active modlist, it already does all the work for you: when the game starts up, it updates any mods in (Game Install Location)/Mods. You can update Steam mods as well, but this part requires configuring.
How do I configure it?
Under Options > Mod Options > GitUpdater, you'll see the config menu. Each setting is defined below.
Setting
Behavior
Require manually updating repositories
If this is off, the game will update mods each time the game starts. If this is on, a new "Update" button will appear, and the game will [i]only[/i] update when the button is pressed.
Use local mods only
If this is on, the mod will only detect other mods with git repositories in (Game Install Location)/Mods. If this is off, it will include Steam mods in the updater (not recommended, but some mods do come with git repositories and are more frequently updated outside of Steam).
Prune old/obsolete branches
Prunes any branches that are no longer being used/deleted at the remote repository.
File conflict strategy
Chooses what to do when there is a file conflict during a mod update. Diff3, while it is an option, is not implemented yet.
Mod repository list setting
Behavior
Mod button
Clicking on a mod will remove it from the list.
Add
Brings open a menu, and shows a series of mods that can be added to the list.
Blacklist/Whitelist
Blacklist prevents the mods in the list from being updated by GitUpdater. Whitelist makes sure [i]only[/i] the mods in the list are updated by GitUpdater.
Known Issues
SSH is not supported
For some forsaken reason, LibGit2Sharp's official implementation of SSH is to open a command prompt for every remote call that uses SSH. I have tried to fix this manually and have only been met with FFI hell.
Q&A
Q: Is it compatible with CE/[Forbidden Mod Here]?
A: If it isn't, God help you.
Support me on Ko-Fi! [url=https%3A%2F%2Fko-fi.com%2Fjames_aka_david]https://ko-fi.com/james_aka_david[/url]
Created using LibGit2Sharp at [url=https%3A%2F%2Fgithub.com%2FJamesthe1%2Flibgit2sharp]https://github.com/Jamesthe1/libgit2sharp[/url].
GitHub: [url=https%3A%2F%2Fgithub.com%2FJamesthe1%2FGitUpdater]https://github.com/Jamesthe1/GitUpdater[/url]