4 ms·
I wonder if it would be possible to change the electron build process so it builds 2 outputs: 1 "big" package with full Chrome inside and 1 "light" package that
by vbsteven 9y ago
I wonder if it would be possible to change the electron build process so it builds 2 outputs: 1 "big" package with full Chrome inside and 1 "light" package that just contains the application code.
The light package could then be offered as an alternative download on the website to run on a specific "electron-runner" that can run multiple electron apps side by side.
I know that I just described a regular browser with tabs or windows but hey, Electron is what we have right now and it is not going away soon. This might be a solution for people running multiple Electron apps side by side.
- hashhar 9y agoReminds me of XULRunner from Mozilla.
- nukeop 9y agoIf you don't need the APIs that interact with the local system, you can already build for Electron and for the browser easily. If you need those APIs, however, there's no other possibility because of the browser sandbox.
- NoGravitas 9y agoIt's possible to have a native (node?) app for the local side, which talks to a browser extension. This way you don't have to run multiple instances of the browser runtime. There's someone writing a full-featured, Patchwork-like SSB client in Firefox this way, but unfortunately I can't remember the name.
- kilian 9y agoA project with that idea is Electrino: https://github.com/pojala/electrino https://github.com/pojala/electrino It provides an electron-like API but uses the OS version of safari. It doesn't seem to be actively developed anymore though.