Your git repo resides inside the Factorio mod folder? No offense, but that is a bad idea. What if Factorio decides to remove the mod (say because your little brother clicked the delete mod button)? Hope your remote repo is up-to-date...danielbrauer wrote: ↑Sat Apr 13, 2019 12:22 pmLike many modders, I'm using git to version my work. This works nicely except when I have to bump the version number. The process is:
If Factorio allowed mod folders without a version number (as a special case: it should still check that they match if they're there), the process would look like this:
- Close the VSCode workspace
- Close the repo in SourceTree
- Rename the folder
- Open the workspace again
- Change the info file to match
- Open the repo again
Ooh, that would be so satisfying...
- Change the info file
Instead, have your repo in a separate location and use a deploy script and/or symlinks. It is a bit more work to get going, but worth the effort. You will never have to worry about folder names again. If you are on windows, I can share my powershell script if you are interested.