nwjs-downloader
Module to make it easier to download NW.js
Example
var spawn = require('child_process').spawn;
var nwjsdownloader = require('nwjs-downloader');
nwjsdownloader({
version: '0.13.3',
arch: 'x64',
sdk: true,
force: false
}, function (err, exe) {
if (err)
return console.log('Error getting NW.js: ' + err);
spawn(exe, ['./build'], {
stdio: 'inherit'
});
});