技术文

node-webkit学习笔记

2015-09-28  本文已影响4330人  200cc

node-webkit学习笔记

基础

安装

应用开发

应用打包

API

配置文件package.json

一个package.json文件的示例

{
  "main": "index.html", 
  "name": "nw-demo",
  "description": "demo app of node-webkit",
  "version": "0.1.0",
  "keywords": [ "demo", "node-webkit" ],
  "window": {
    "title": "node-webkit demo",
    "icon": "link.png",
    "toolbar": true,
    "frame": false,
    "width": 800,
    "height": 500,
    "position": "mouse",
    "min_width": 400,
    "min_height": 200,
    "max_width": 800,
    "max_height": 600
  },
  "webkit": {
    "plugin": true
  }
}

窗口

上一篇 下一篇

猜你喜欢

热点阅读