I can't seem to get my addon icon to show up when I use jpm
. The relevant items in package.json
are
"icon": "icon.png",
"icon64": "icon64.png",
and when I unpack the extension, I see them in install.rdf
as
<em:iconURL>icon.png</em:iconURL>
<em:icon64URL>icon64.png</em:icon64URL>
They are 48x48 and 64x64px png
files, respectively.
Both of those files are in the root directory of the extension. If I read the docs correctly, I shouldn't even have to specify those names, as they are the default.
I don't see any extension icon in the Addons-manager. What am I doing wrong?
This is a known issue with jpm, and I just updated that bug report asking for an update on what we can do about it. It's a mystery to me why it doesn't work as-is.
it's a bug.
If you're working on jpm 1.0.1, the only way it works is:
"icon": "resource://@youraddonname/icon.png",
rename your icon as "icon". Don't know why it works that way..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With