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

Compiling for Windows. #15

Open
Alex313031 opened this issue Mar 2, 2023 · 3 comments
Open

Compiling for Windows. #15

Alex313031 opened this issue Mar 2, 2023 · 3 comments
Labels

Comments

@Alex313031
Copy link

Hello, I have made some changes to pak, like using -O3, and adding color to --help, etc.
I compiled for linux, but now I want to make an updated windows binary. The readme and wiki only has instructions for linux, except the LGPL 2.1 caveat.

How would I compile pak for windows?

@myfreeer
Copy link
Owner

myfreeer commented Mar 3, 2023

For branch develop, building system is based on cmake, examples could be found:

For experimental branch 3.x, building system is based on cargo, compiled with cargo build command.

@Alex313031
Copy link
Author

@myfreeer Whats the difference between the 2x and 3x branch (besides a language change) did you add, for example, better brotli support?

@myfreeer
Copy link
Owner

myfreeer commented Mar 5, 2023

better brotli support?

Yes, 3.x could strip the custom header of brotli compressed resource on unpacking, and rebuild it on packing. See #11 (comment) for more tech details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants