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

Add periodic editor map backups #4108

Merged
merged 7 commits into from May 14, 2024
Merged

Conversation

Emik03
Copy link
Member

@Emik03 Emik03 commented May 8, 2024

This PR adds a backup system for charting.

  • Every 5 minutes, a scheduler checks if any modifications have been made to the chart, and in which case an automatic copy is saved in the form of ./Data/Backups/Charts/<NameOfQua>/<Timestamp>.qua.
  • Additionally, a check is added on the game's startup to delete every chart backup older than 48 hours.

The exact time intervals are chosen arbitrarily, although I don't think it's worth adding a setting for.

@AiAe AiAe changed the title Add periodic editor chart backups Add periodic editor maps backups May 13, 2024
@Emik03 Emik03 closed this May 13, 2024
@Emik03 Emik03 deleted the editor-chart-backups branch May 13, 2024 20:01
@Emik03
Copy link
Member Author

Emik03 commented May 13, 2024

what

@Emik03 Emik03 restored the editor-chart-backups branch May 13, 2024 20:03
@Emik03 Emik03 reopened this May 13, 2024
@Emik03
Copy link
Member Author

Emik03 commented May 13, 2024

note for future self: do not rename branches if part of a PR, in fact don't rename branches in general

@Emik03 Emik03 changed the title Add periodic editor maps backups Add periodic editor map backups May 14, 2024
@AiAe AiAe merged commit 2c374ba into Quaver:ui-redesign May 14, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants