Powered by Electron, React, Redux, and Webpack. Using Electron React Boilerplate.
Install dependencies.
npm install
Run this two commands simultaneously in different console tabs.
npm run hot-server
npm run start-hot
Note: require node >= 4 and npm >= 2.
- OS X: Cmd Alt I or F12
- Linux: Ctrl Shift I or F12
- Windows: Ctrl Shift I or F12
- see electron-debug for more detail information.
- Open / Close: Ctrl+H
- Change Position: Ctrl+Q
see redux-devtools-dock-monitor for more detail information.
npm run package
npm run generate-installer
Or, run the following to generate builds for all platforms, and an installer for the 64 bit windows build.
npm run package-all
see
package.json
for more command details
- --name, -n: Application name (default: Launcher)
- --version, -v: Electron version (default: latest version)
- --asar, -a: asar support (default: false)
- --icon, -i: Application icon
- --all: pack for all platforms
After packaging, you will find the builds in release
folder.
client
, test
, tools
, release
folder and devDependencies in
package.json
will be ignored.
Please check out [Building windows apps from non-windows platforms](https://github.com/maxogden/electron-packager# building-windows-apps-from-non-windows-platforms).
MIT © Luke Barbuto