Electron.app source?


A clarification required here that has muddled up a few things in my mind. Atom is an electron app, a few of the src files require ‘app’. According to the electron documentation, the ‘app’ is a part of ‘electron’ and the electron app’s main processes are required to ‘require electron’. My confusion is where is electron actually being required and how/what is this ‘app’ being required. A little bit of clarification on this would help clear out a lot of unclear concepts. TIA


Atom isn’t on the current version of Electron. It generally lags behind by a certain amount because Atom has to maintain a larger amount of backwards compatibility.

If you go back a couple versions in the Electron documentation, you’ll find references for the app library: