I’ve just finally get this add-on updated, but now the icon in toolbar is not showing up.
https://addons.mozilla.org/ru/firefox/addon/artsembler-quicksave/
Locally everything works absolutely fine - i’ve tried to run source code with jpm run
and i’ve tried to compile it with jpm xpi
- everything is ok. Why the same addon installed from Mozilla-add-ons is not showing up?
This is install.rdf
<?xml version="1.0" encoding="UTF-8"?>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:id>id hidden</em:id>
<em:bootstrap>true</em:bootstrap>
<em:version>1.30</em:version>
<em:type>2</em:type>
<em:targetApplication>
<Description>
<em:id>{id hidden}</em:id>
<em:minVersion>31.*</em:minVersion>
<em:maxVersion>47.*</em:maxVersion>
</Description>
</em:targetApplication>
<em:name>ARTSEMBLER QUICKSAVE</em:name>
<em:description>This Add-on allows quickly save web-pages into Artsembler knowledge base.</em:description>
<em:creator>Anton Aleksandrov</em:creator>
<em:homepageURL>http://www.artsembler.com/</em:homepageURL>
</Description>
</RDF>
This is part of /index.js
:
var button = require("sdk/ui/button/action").ActionButton({
id: "artsembler-quicksave",
label: "Artsembler QuickSave",
icon: {
// "16": "./icon-16.png",
// "32": "./icon-32.png",
"64": "./icon.png"
},
onClick: handleClick
});
package.json:
{
"title": "Artsembler QuickSave addon",
"name": "browserextensions",
"version": "0.0.1",
"description": "A basic add-on",
"main": "index.js",
"author": "Anton Aleksandrov",
"engines": {
"firefox": ">=38.0a1",
"fennec": ">=38.0a1"
},
"license": "MIT",
"keywords": [
"jetpack"
]
}
icon located in /data/icon.png