Sgt-Imalas / Sgt_Imalas-Oni-Mods

All the ONI mods made by Sgt_Imalas
MIT License
21 stars 8 forks source link

Directory.Build.props: Make folder properties overridable #115

Closed Th3Fanbus closed 2 months ago

Th3Fanbus commented 2 months ago

The GameLibsFolder and ModFolder properties need to be adjusted to match one's environment. But modifying Directory.Build.props results in the Git worktree being dirty, which prevents switching branches. To avoid this, place the default values for these properties inside a new Directory.Build.props.default file. The defaults are imported unless a Directory.Build.props.user file exists, in which case the per-user file gets imported instead. The per-user file is ignored by Git, which avoids dirtying the worktree. Moreover, update the README accordingly.