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

Add example for encoding/writing ASAR files #5

Open
Happy-Ferret opened this issue Aug 8, 2018 · 2 comments
Open

Add example for encoding/writing ASAR files #5

Happy-Ferret opened this issue Aug 8, 2018 · 2 comments

Comments

@Happy-Ferret
Copy link

Based on the given documentation/tests, I struggle implementing a way to encode and write the contents of a directory to an ASAR file.

Would it be possible to extend the documentation, as to make it more clear how to achieve writing ASAR files?

@Happy-Ferret
Copy link
Author

NVM. I figured it out.

Alas, the output is broken (due to #2) without using the patched version by yyq2013.

I'll gladly provide a PR for the example, provided the above bug is fixed.

@jaygooby
Copy link

jaygooby commented Aug 21, 2018

@Happy-Ferret I implemented a pack option in cmd/asar/main.go that also uses the header fixes from https://github.com/yyq2013/asar

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

No branches or pull requests

2 participants