-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add manual save backup management #32
Conversation
Glad you like it! I like your suggestions as well, I'll look into adding at least some of them in the next few days. As for your question: I chose to copy to a temporary directory first to avoid potential side effects that could arise from the source dir's name, since the "copy-into" behaviour of
Of course, it only now occurs to me that something like this would solve the same problem while being cleaner and less I/O:
I can change it to that. I had considered having this "copy-to" behavior in |
Yes, that's what I was thinking, too. It would certainly be more elegant.
I think the approach of copying worlds one by one is better. In the future, we may want to let the user restore only specific worlds from a backup. |
Ended up having a bunch of time today. That's everything except your last two suggestions, I put a method to get the backup details for them but I'm not sure my UI design skills are up to fitting the info in nicely. |
I think it's ready. I had a couple other ideas but I dunno if I'll get to them soon:
If I get to it, next thing I'd do is probably tie it into automatic backups though. For posterity, this is the list I made of what it would take to reach feature parity with the Remy launcher, in case you or someone else gets to it first:
|
Thanks for laying it out. Some of these points crossed my mind as well, but all this together sounds like quite a bit of work, so let's do any further improvements as a new iteration. For the time being, I'll merge this and likely make a new release soon. |
This adds a
Backups
tab that allows manually creating, restoring, and deleting copies of the save directory for each game. Should be a decent foundation for automated backups but wanted to see what you thought before changing too much.