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

Startup behavior: Simplify extraction algorithm #12767

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Conversation

DanVanAtta
Copy link
Member

When handling '.zip' files in the 'downloadedMaps' folder on startup, update extraction algorithm to be:

  • If "extraction target" does not exist, then proceed with extraction
  • If extraction target exists & is game-headed, then no-op
  • If extraction target exists & is game-headless, then delete extraction target, and then proceed with extraction.

We also simplify extraction, we can rename the temp folder and/or delete it more simply.

Notes to Reviewer

When handling '.zip' files in the 'downloadedMaps' folder on startup,
update extraction algorithm to be:
- If "extraction target" does not exist, then proceed with extraction
- If extraction target exists & is game-headed, then no-op
- If extraction target exists & is game-headless, then delete extraction
  target, and then proceed with extraction.

We also simplify extraction, we can rename the temp folder and/or delete
it more simply.
@DanVanAtta DanVanAtta merged commit 1ccdf80 into master Jul 25, 2024
1 check passed
@DanVanAtta DanVanAtta deleted the extraction-update branch July 25, 2024 00:47
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.

1 participant