How to set addon store icon for Firefox
I'm creating a Firefox Web Extension (not the old style addon). My application has a manifest.json
file, and I've set the icons:
"icons": {
"16": "data/icons/icon-16.png",
"24": "data/icons/icon-24.png",
"48": "data/icons/icon-48.png",
"64": "data/icons/icon-64.png",
"96": "data/icons/icon-96.png",
"128": "data/icons/icon-128.png"
},
However, the icon still shows the default plugin icon on the addons page:
The icon shows correctly in the firefox addon manager though. I've also tried putting an icon.png
and icon@2x.png
file in the root directory of my addon, but no luck.
I have an old style addon that shows right above my new addon that does have a custom icon, so I assume it's possible. Does anyone know how?
On the manage addon info page:
https://addons.mozilla.org/en-US/developers/addon/YOUR_ADDON_SLUG_GOES_HERE/edit
There is a section "Images". Click "Edit", then you will get an upload form. You have to set the icon there:
链接地址: http://www.djcxy.com/p/37594.html上一篇: 2节点Redis HA
下一篇: 如何为Firefox设置插件存储图标