My funkadelic app
$ npm install
$ npm start
$ npm run build
Builds the app for macOS, Linux, and Windows, using electron-packager.
MIT © Almir Bijedic
npm install --global yo generator-electron npm start
// On macOS it's common to re-create a window in the app when the // dock icon is clicked and there are no other windows open.
DOM can not be accessed in the main process, only in the renderer that it belongs to.