【发布时间】:2015-03-30 07:23:49
【问题描述】:
我有一个主干网络应用程序,在我的浏览器中一切正常。现在我想用 Node webkit 制作一个 .exe。
这是我的 package.json 文件:
{
"name": "XXXX",
"main": "index.html",
"window": {
"toolbar": true,
"width": 800,
"height": 600
},
"single-instance": false,
"version": "1alpha",
"private": true
}
但是当我执行程序时,我会在 js 控制台中获得这些消息:
You do not have permission to use the appview element. Be sure to declare the 'appview' permission in your manifest file and use the --enable-app-view command line flag.
我一直在解决它here,但我没有找到任何解决方案。
有什么想法吗?谢谢
【问题讨论】:
-
你试过“js-flags”:“--enable-app-view”
-
谢谢。是的,但显示相同的错误。
标签: node-webkit