Electron-packager: is it possible to pack into a SINGLE .exe file?

Created on 3 Nov 2016  路  3Comments  路  Source: electron/electron-packager

Hi,

thanks for this tool.

under windows i'm able to pack electron app to a folder with .exe file,

but i'm not able to understand if is it possible to pack everything into a SINGLE .exe file.

i read

http://electron.atom.io/docs/tutorial/application-distribution/ but with asar package i'm able to pack the application, not electron.

my need is to pack everything inside a single exe file to make distribution easier.

is this possible?

thanks.

question

Most helpful comment

This is not currently possible. I gave a more detailed answer in #243.

All 3 comments

This is not currently possible. I gave a more detailed answer in #243.

Yes, it is possible by electron-forge make
See https://github.com/electron-userland/electron-forge
By default in Windows the single exe is created by squirrel. After running it is extracted in C:UsersuserAppDataLocalyour_new_app, and rewrite it in each run. But user see alone executable, and almost all software work in a similar way.

@abicorios it sounds good! but how to build exe in centos?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akcorp2003 picture akcorp2003  路  4Comments

NoahAndrews picture NoahAndrews  路  5Comments

dland512 picture dland512  路  5Comments

leanderBehr picture leanderBehr  路  3Comments

Bharwcb picture Bharwcb  路  5Comments