我已设置工具栏为true,这是package.json 我也安装了铬。
的package.json
{
"main": "index.html",
"name": "MyApp",
"description": "Example1",
"version": "0.1.0",
"keywords": [ "MyApp", "node-webkit" ],
"window": {
"title": "MyApp",
"toolbar": true,
"frame": true,
"width": 1024,
"height": 800,
"position": "mouse",
"min_width": 400,
"min_height": 200,
"resizable":true
},
"webkit": {
"plugin": true
},
"chromium-args": "--ignore-certificate-errors"
}
答案 0 :(得分:0)
您是否尝试删除了一些参数?
我确实通过不指定任何内容来获取工具栏。
我的package.json
{
"name": "shock",
"main": "views/index.html",
"version": "0.7.1",
"single-instance": true,
"window": {
"title": "Shock",
//"toolbar": false,
"width": 1150,
"height": 750,
"min_width": 950,
"min_height": 750
},
"chromium-args": "--child-clean-exit"
}