Build Node Addon using node-gyp
. NW.js Node headers are downloaded and passed to node-gyp
via the --nodedir
parameter.
Note: This approach works from v0.83 onward.
- Clone repo
npm i
to install Node modulesnpm run gyp
to download Node headers and build Node Native Addonnpm run nw
to run NW.js app.