As you’ve seen in the Introduction, building a simple Electron application is actually easy! You’ve already used the two different types of processes that Electron knows: the main process and the renderer process. In this chapter you will learn about both processes as you build a reference to one of the earliest and most basic computer games. So let’s get started!
You’ve already seen the first type of process, the
main process in action. This is the one defined in the
package.json file as your main process (here is an example):
The main process has direct access to all of the modules that provide certain desktop-specific logic, such as Auto Updating, Crash ...