![principle app tutorials principle app tutorials](https://principleformac.com/static/video/choicePoster.5786f153575c7d2c792b7269b38b65dd.png)
then ( ( ) => ) // In this file you can include the rest of your app's specific main process // code. The BrowserWindow module, which creates and manages applicationīecause the main process runs Node.js, you can import these as CommonJSĪpp.
![principle app tutorials principle app tutorials](https://i.ytimg.com/vi/_faA1Uy5daY/maxresdefault.jpg)
#Principle app tutorials full
Main process, which runs in a full Node.js environment and is responsible forĬontrolling your app's lifecycle, displaying native interfaces, performing privileged The entry point of any Electron application is its main script.
![principle app tutorials principle app tutorials](https://dotnettutorials.net/wp-content/uploads/2018/06/Violating-open-Closed-principle-in-C.png)
Your app will immediately throw an error telling you that it cannot find an app to run. Note: This script tells Electron to run on your project's root folder.