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

Adds transform option to api #73

Merged
merged 2 commits into from Jul 20, 2016
Merged

Conversation

gerhardberger
Copy link
Contributor

This PR adds a transform option to the api, which is a function, that can return a Transform stream for files that needed to be transformed before copying them into the .asar file.

# JavaScript can not precisely present integers >= UINT32_MAX.
if stat.size > 4294967295
throw new Error("#{p}: file size can not be larger than 4.2GB")
self = this
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use the => function in CoffeeScript, which handles this automatically.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks I changed it!

@zcbenz
Copy link
Member

zcbenz commented Jul 20, 2016

👍

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.

None yet

2 participants