pkg icon indicating copy to clipboard operation
pkg copied to clipboard

Could this be combined with Electron?

Open hmbrg opened this issue 9 years ago • 18 comments

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?

hmbrg avatar May 01 '17 20:05 hmbrg

Alternatively, you an specify an option to open the default browser on start of .exe and run the .exe in quiet/silent mode

ganeshkbhat avatar May 05 '17 02:05 ganeshkbhat

It's perfect that pack electron projects for protect js source code!

alexluoli avatar May 17 '17 07:05 alexluoli

Any word on this? Can we use pkg with electron?

Penagwin avatar Jun 12 '17 19:06 Penagwin

bump

francois06 avatar Jun 22 '17 14:06 francois06

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.

igorklopov avatar Jun 23 '17 14:06 igorklopov

@ganeshkbhat how would you specify this option? Could you give an example ?

romans127 avatar Jun 27 '17 18:06 romans127

isn't electron-builder like pkg for electron apps? https://github.com/electron-userland/electron-builder

makerGeek avatar Oct 06 '17 10:10 makerGeek

@makerGeek no, electron-builder just follows the Electron's guide on packing

taha avatar Oct 20 '17 14:10 taha

bump :+1:

phoenixic avatar Nov 05 '17 01:11 phoenixic

Still looking very much for this. Must have!

cameronb23 avatar Nov 12 '17 04:11 cameronb23

so there is no way to bundle an electron app in ONE executable?

antonioaltamura avatar Nov 14 '17 16:11 antonioaltamura

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.

Penagwin avatar Nov 14 '17 19:11 Penagwin

Hi, So... 2019 is it possible yet if not is there any alternative packaging without source code thanks.

luki06 avatar May 22 '19 22:05 luki06

Any updates?

d0peCode avatar Oct 19 '19 00:10 d0peCode

bump

leodelgadodev avatar Dec 27 '19 17:12 leodelgadodev

I am also interested and looking for any updates on this.

bc238dev avatar Jan 23 '20 06:01 bc238dev

As an obfuscating alternative, you can try: https://github.com/OsamaAbbas/bytenode Works pretty well with Electron.

aperkaz avatar Jun 18 '20 13:06 aperkaz

bump

Nisthar avatar Jul 17 '21 11:07 Nisthar