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

Support loading files from a ZIP bundle, and merging the bundle with the executable #90

Open
joaodasilva opened this issue Apr 24, 2022 · 0 comments

Comments

@joaodasilva
Copy link
Contributor

This is similar to #88.

  1. Support running a ZIP bundle instead of running a main JS file. Any file operations start by looking for the file in the ZIP, and then fallback on the filesystem when that fails.

  2. Support merging that ZIP with the executable, to distribute as a single binary. This might work by just concatenating the binary and the ZIP, because the ZIP header is at the end of the file:

https://en.wikipedia.org/wiki/ZIP_(file_format)

The downside is that the original executable can't be signed (or its signature becomes invalid).

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

No branches or pull requests

1 participant