为什么这会在开发人员部分中显示名称上的文件抛出和错误?
{
"name":"Hello World",
"description":"Our first application",
"launch_path":"/hello.html",
"version":"1.0",
"developer":"
"name":"Simple Programmer",
"url":"http://simpleprogrammer.com"
},
"icons":{
"60":"/icon_60.png"
},
"default_locale":"en"
}
答案 0 :(得分:1)
因为它不是有效的JSON,特别是这部分:
"developer":"
"name":"Simple Programmer",
"url":"http://simpleprogrammer.com"
},
应该是:
"developer": {
"name":"Simple Programmer",
"url":"http://simpleprogrammer.com"
},
请注意第一行中的更改 - 打开大括号({
)而不是引号("
)。
答案 1 :(得分:-1)
另请注意,Firefox Marketplace需要128x128图标,请参阅 https://developer.mozilla.org/en-US/Apps/Build/Manifest#Required_icon_sizes