当我尝试通过网上商店发布我的 chrome 扩展时,我遇到了一个奇怪的问题。每次我上传 zip 文件时,我都会收到此错误:发生错误:无法包含对文件的访问权限。
我什至尝试上传一个仅包含清单文件的 zip 文件,但我仍然遇到同样的错误。
任何想法 ?
谢谢
清单文件:
{
"name": "__MSG_plugin_name__",
"version": "0.0.0.1",
"manifest_version": 2,
"description": "__MSG_plugin_description__",
"browser_action": {
"default_icon": "images/ST_19.png",
"default_title": "__MSG_plugin_title__",
"default_popup": "popup.html"
},
"icons":{
"16": "images/ST_16.png",
"48": "images/ST_48_1.png",
"128": "images/ST_128.png"
},
"default_locale": "en",
"permissions": [
"contextMenus",
"tabs", "http://*/*", "file:///*","https://*/*", "ftp://*/*"
],
"background": {
"persistent": false,
"scripts": ["scripts/jquery.min.js","scripts/utils.js", "scripts/menus.js","scripts/logic.js"]
}
}