packwiz / packwiz-installer

An installer for packwiz modpacks, with automatic auto-updating and optional mods! Works well with MultiMC and on servers.
https://packwiz.infra.link/
MIT License
46 stars 21 forks source link

[Feature Request] Make (temporary?) backup of changed files #74

Open xieve opened 5 months ago

xieve commented 5 months ago

Hi there, I just did a bit of an oopsie and overwrote some of my previous config work on my modpack via packwiz-installer, and that gave me the idea that it might be desirable to put backups of files that have changed and are replaced or deleted by a backup somewhere where users can access it—one case would be when a config file gets added to the modpack, overwriting changes the user might potentially have made locally.

There's a few considerations to be made:

Maybe a notice could be displayed on first update:

Pack was updated. Backups have been placed into <folder>.

[OK] [Don't remind me again]