https://github.com/dongri/play
$ npm install -g electron
$ electron -v
v1.7.9
$ git clone git@github.com:dongri/play.git
$ cd play/electron
$ vim index.html
src="http://localhost:5000/macos"
$ electron .
$ npm install -g electron-packager
$ ./package.sh
$ npm install -g electron-builder
$ electron-builder build
$ ll docs
-rw-r--r--@ 1 dongri staff 44M Oct 31 15:37 Play-0.0.1.dmg
drwxr-xr-x 3 dongri staff 102B Oct 31 15:36 mac