windowjs / windowjs

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

Home Page:https://windowjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to export the program as a separate executable

CmdEngineer opened this issue · comments

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.

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.)

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

ezoic increase your site revenue