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

Fix file copying on Windows and installation by rules.txt #224

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

GingerAvalanche
Copy link
Collaborator

@GingerAvalanche GingerAvalanche commented Sep 24, 2024

Fixes the issue where, on Windows, dircpy's method of file copying happens too slow and the task dispatch kills the thread before the file copy finishes. (At least, that's my best guess for what's happening) Rather than shelling out the copy calls, it runs a synchronous operation.

Also fixes an issue where mods could not be installed by rules.txt because anything without a zip or 7z extension got eaten by previous if cases. I'm rolling this into the same PR because I accidentally rolled them into the same commit, and had previously kept the bug around specifically as a workaround for the file copying issue.

Doesn't add *.txt to the installation selection dialogue. Need to find time to figure out how to do that, but wanted to get this up because I rolled it into my side-0.15.0 and didn't want 0.15.1 to regress if you found time to do a release before I could find it.

Addresses, closes #207

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.

Profile copier copies only folders on Windows
1 participant