我有一个主干的web应用程序,一切都在我的浏览器中正常工作。现在我想用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,但我没有找到任何解决方案。
有什么想法吗?谢谢
发布于 2015-03-30 22:50:10
我已经找到了任何部分解决方案。如果将主选项更改为:
"main": "http://localhost:8000",它工作完美,但我需要启动一个小的web服务器之前,我不想这样做。有什么想法吗?
https://stackoverflow.com/questions/29340474
复制相似问题