-
Notifications
You must be signed in to change notification settings - Fork 1
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
Incorporate @compnerd's patch for Windows support #9
Comments
I've implemented the code from the original PR in #10, but I'm having some trouble with the CI, as I am not able to pass a build of |
I think (from the actions log), the problem is that It looks like the runner image does include 7Zip, so you can probably replace the tar line with something like:
|
Ok, now All tests succeed except for a important one. I'll do what I can in the coming days. We are almost there! 😃 |
That test I previously mentioned fails because of two reasons:
Right now the solution to the colons problem is avoiding it, and the one for the permissions problem is an ugly hack that doesn't even work all the time. Of course more work is needed. If you know more on Windows permissions I would appreciate your help! |
I've managed to remove colons in file names and I've removed any permissions setting specific to Windows, now all the test succeed. I've marked the PR as ready to review and requested some reviews. When it gets merged I'll do a new patch release, but I think that more real world testing will be needed. |
Unfortunately, because of issues in the C code I'm still investigating, the package doesn't work with Swift 6.0 in Windows. |
Thanks to @compnerd's help we managed to make it working, now the PR is again ready to review! |
### Issue #9 Originally authored by @compnerd in marmelroy#246 - Add support for Windows - Add Windows CI tests - Drop support for Swift 5.8 - Adopt `swift-format` - Add CI for iOS and MUSL - Various bug fixes
It would be great if we could incorporate https://github.com/marmelroy/Zip/pull/246/files, which would enable this to work on Windows. Today there's no well-maintained ZIP implementation that includes Windows support, and you're achingly close!
The text was updated successfully, but these errors were encountered: