electron build windows exe 1

electron build windows exe

# for use in npm scripts
npm install electron-packager --save-dev

# for use from cli
npm install electron-packager -g

electron-packager   --platform=win32 --arch=x64

Here is what the above code is Doing:
1. Install electron-packager
2. Install electron-packager globally
3. Package the app

Similar Posts