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 running with bundled assets #62

Open
joaodasilva opened this issue Jan 16, 2022 · 0 comments
Open

Support running with bundled assets #62

joaodasilva opened this issue Jan 16, 2022 · 0 comments

Comments

@joaodasilva
Copy link
Contributor

Window.js applications run like so:

$ windowjs.exe main.js

And then the main.js script can load assets, usually in the same directory and subdirectories.

To make distribution easier, Window.js should support bundling all of the relevant assets into a single .zip file and then executing that directly:

$ windowjs.exe app.zip

APIs like File.readText and so on would need to support looking up files both in the filesystem, and also in the zip bundle if there was one.

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