Electron: Atom & App in one executable

Created on 11 Dec 2014  路  3Comments  路  Source: electron/electron

Would it be possible to merge atom & my app into one single executable?

Similarly to how https://github.com/crcn/nexe merges node and javascript?

All 3 comments

Single executable isn't possible (edit: AFAIK) because several dll'slibraries, content_shell.pak and icudtl.dat need to be distributed with the executable.
You can fake it (on Windows) with an app like Enigma VirtualBox. This way you create a virtual filesystem inside a container exe. I wouldn't recommend it though, increased memory consumption for each atom.exe process.
edit: I'm assuming with 'Atom' you meant 'Atom-Shell' in this case.

Thanks for the explanation @bwin. I was just curious why it wasn't being done, I guess that answers it, platform support.

Yes I was talking about atom-shell, strangely the binary is called Atom.

screen shot 2014-12-12 at 2 23 47 am

The structure of Chromium is not designed for putting everything into an executable, and it would take too much effort to do that. So unless that situation in Chromium changed atom-shell won't support this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rhnorskov picture rhnorskov  路  3Comments

feross picture feross  路  3Comments

etiktin picture etiktin  路  3Comments

tengyifei picture tengyifei  路  3Comments

ThorstenHans picture ThorstenHans  路  3Comments