Skip to content

Allow copy to decrypted destination on Windows #476

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

Merged
merged 2 commits into from
Mar 17, 2025

Conversation

Summon528
Copy link
Contributor

Fix #460

Pretty much the exact re-implementation of std::fs::copy
https://github.com/rust-lang/rust/blob/4d30011f6c616be074ba655a75e5d55441232bbb/library/std/src/sys/fs/windows.rs#L1515

The only difference is the COPY_FILE_ALLOW_DECRYPTED_DESTINATION flag, which allows copying save files from encrypted folders to non-encrypted folders.

@mtkennerly
Copy link
Owner

Thanks! That flag is a great find 👍

@mtkennerly mtkennerly added this to the v0.29.0 milestone Mar 17, 2025
@mtkennerly mtkennerly merged commit def6a75 into mtkennerly:master Mar 17, 2025
9 checks passed
mtkennerly added a commit that referenced this pull request Mar 17, 2025
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.

Minecraft: Bedrock Edition fails to back up when moved to a secondary drive on Windows 11 Pro.
2 participants