Practically, the only time you want to distribute a commercial app and use some sort of code protection is with desktop apps. So it would make a lot of sense to combine this with Electron. Are there any plans for that?
Alternatively, you an specify an option to open the default browser on start of .exe and run the .exe in quiet/silent mode
It's perfect that pack electron projects for protect js source code!
Any word on this? Can we use pkg with electron?
bump
Pkg's own issues are of higher priority. Once things like code sign are solved, i will have a look at how electron works internally and how to combine them.
@ganeshkbhat how would you specify this option? Could you give an example ?
isn't electron-builder like pkg for electron apps?
https://github.com/electron-userland/electron-builder
@makerGeek no, electron-builder just follows the Electron's guide on packing
bump :+1:
Still looking very much for this. Must have!
so there is no way to bundle an electron app in ONE executable?
Antonio I think you can (Checkout EXE Packers). A lot of us are concerned about trying to keep IP out of plaintext. Currently you just run a command and have all the source code in from of you.
Hi,
So... 2019 is it possible yet if not is there any alternative packaging without source code thanks.
Any updates?
bump
I am also interested and looking for any updates on this.
As an obfuscating alternative, you can try: https://github.com/OsamaAbbas/bytenode
Works pretty well with Electron.
Most helpful comment
Pkg's own issues are of higher priority. Once things like code sign are solved, i will have a look at how electron works internally and how to combine them.