atlanticaccent / starsector-mod-manager-rust

A mod manager for Starsector, a space fleet-battle and economics simulator. This time written in Rust.
https://atlanticaccent.github.io/starsector-mod-manager-rust/
MIT License
33 stars 1 forks source link

Add checking for .git folders to prevent destruction of mod development environments #100

Closed atlanticaccent closed 2 years ago

atlanticaccent commented 2 years ago

Updating a mod will delete the entire existing mod folder, including any hidden files (like the .git folder).

Either keep hidden files, or pop a warning and abort the operation letting the user intervene.