Make sure you have Node and NPM install on your Development Environment
Install electron locally
npm install --save-dev electron
or globally
npm install electron -g
Install electron-packager
npm install electron-packager --save-dev
Build your current project, cd into your current project then run:
electron-packager .
Overwrite your current build if need to
electron-packager . --overwrite
Useful Resources:
Getting started:
- https://electronjs.org/docs/tutorial/first-app
- https://electronjs.org/docs/tutorial/application-distribution
- https://github.com/sindresorhus/awesome-electron
- https://github.com/electron/windows-installer