Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

enter image description here

The icon shows correctly in the firefox addon manager though. I've also tried putting an icon.png and [email protected] 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?

like image 904
Brandon Wamboldt Avatar asked Dec 22 '16 14:12

Brandon Wamboldt


1 Answers

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:

like image 155
Noitidart Avatar answered Sep 20 '22 00:09

Noitidart