windowjs / windowjs

Window.js is an open-source Javascript runtime for desktop graphics programming.

Home Page:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

joaodasilva opened this issue · comments

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:

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

ezoic increase your site revenue