Node-Webkit 版本管理和应用调试工具

1,170 阅读1分钟

nwjs

Inspired by electron-prebuilt

You can use nwjs as a nw.js version manager, and do things like nwjs /your/app/path

preview

Install

npm i -g nwjs

Usage

# log the version of nw.js you use to run your app
nwjs info

# install some version of nw.js
nwjs use 0.12.3 or nwjs use 0.13.0-alpha2
# and so on...

# run app
# suppose the the app directory contains 'package.json' and the entry html file
nwjs
nwjs ./app

Have to note that I have only tested it on win32 platform, use at your own risk and PRs are welcome.

License

MIT.