This is similar to #88.
-
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.
-
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).
This is similar to #88.
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.
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).