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

Ability to export the program as a separate executable #88

Open
CmdEngineer opened this issue Feb 26, 2022 · 2 comments
Open

Ability to export the program as a separate executable #88

CmdEngineer opened this issue Feb 26, 2022 · 2 comments

Comments

@CmdEngineer
Copy link

Let's say I create a cool app and I want to send it to my friend I want them to just open the executable and have the page shown to be my application.
I can think of two ways this can be implemented:

  • flag for --export or option.
  • during the compilation of windowjs give it path for default application.
@joaodasilva
Copy link
Contributor

The second option works today; see the steps here:

#83 (reply in thread)

Having a flag for this (like --export or --bundle) would be nice to have. This will require some support for the native object file format in window.js (maybe taken from UPX).

The downside is that this generates a new binary that is not signed, so it's up to you to sign it if that's something that you'd like to have (to bypass the Windows security warnings when downloading, etc.)

@CmdEngineer
Copy link
Author

The second option works today; see the steps here:

#83 (reply in thread)

Having a flag for this (like --export or --bundle) would be nice to have. This will require some support for the native object file format in window.js (maybe taken from UPX).

The downside is that this generates a new binary that is not signed, so it's up to you to sign it if that's something that you'd like to have (to bypass the Windows security warnings when downloading, etc.)

Okay cool, I should've checked before posting the issue. I would before a way to export that won't require the whole build environment but it's okay

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

2 participants