Mac hosts app based on electron.
开发基于 electron-react-boilerplate
First, clone the repo via git:
git clone https://github.com/creeperyang/mac-hosts.git your-project-name
And then install dependencies.
$ cd your-project-name && npm install
And then package the app.
$ npm run package
Then you get macHosts.app
in release
dir.
Note: requires a node version >= 4 and an npm version >= 2.