A command line tool for editing "hosts" file.
npm install -g hosts-edit
Just take two parameters:
- An IP address
- A name for the address above
hosts-edit 192.168.1.1 my-router
npm install -g pkg
bash build.sh
you can find those file in build/Release/ directory.