发布于 2016-07-14 03:26:46 | 215 次阅读 | 评论: 0 | 来源: 网友投递
NW.js Web 调用 Node 模块
NW.js 可以让你直接在 DOM 上调用所有 Node.js 模块,相当于使用一种新的方法来编写 Web 应用。NW.js 的前身是 node-webkit 。
NW.js v0.16.0-rc1发布,采用 Chromium 52 +Node.js v6.2.2。
更新记录
Update Chromium to 52.0.2743.73
Add App.clearAppCache(manifest_url) for clearing Application Cache (#4991)
Enable password autosaving for http auth dialog (#4966)
Margin option support for printer api (#5033)
Fix: finding bundled pepper flash plugin (#5068)
Fix: Silent printing with win.print() for pdfs (#5002)
Fix: Permission Denied error when using chrome.bluetoothLowEnergy API (#5010)
Fix: [OSX] Choose directory dialog shows "Upload" instead of "Select" (#5058)
Fix: menu bar background (#4851)
Fix: send positions arguments to click event handler of Tray (#1874)
Fix: DesktopCaptureMonitor desktop stream does not get AudioTrack (#5029)
Fix: crash in win.showDevTools() with string id (#5061)
Fix: webview.clearData crash (#5087)
Fix: Buffer encoding handling with input from DOM elements (#5069)
Fix: Window resize event returns undefined for height (#4993)
Fix: can not remove shortcut key at menuItem (#5026)
Updated win_delay_load_hook.c to work with node-gyp@3.4.0 (#5088)
[docs] margins for Window.print()
[docs] Native Module building in nw15 and later
NORMAL:
SDK build:
http://dl.nwjs.io/v0.16.0-rc1/nwjs-sdk-v0.16.0-rc1-win-x64.zip
http://dl.nwjs.io/v0.16.0-rc1/nwjs-sdk-v0.16.0-rc1-osx-x64.zip
http://dl.nwjs.io/v0.16.0-rc1/nwjs-sdk-v0.16.0-rc1-linux-x64.tar.gz
其他版本点这里→: http://dl.nwjs.io/v0.16.0-rc1/
NORMAL版是不含工具包的,SDK版是有工具包的,按 F12 (Cmd-Alt-I on OSX)唤出.
官方文档:http://docs.nwjs.io/
欢迎来这里交流反馈: feedback 自备墙梯