Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xieve opened this issue Jan 18, 2024 · 0 comments
Open

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

xieve opened this issue Jan 18, 2024 · 0 comments

Comments

@xieve
Copy link

xieve commented Jan 18, 2024

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:

  • How long should the backup be kept?
    • I'd suggest until the next update.
  • Should there be a size limit?
    • Maybe don't backup files over 500MiB or something like that.

Maybe a notice could be displayed on first update:

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

[OK] [Don't remind me again]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant