I have a new Firefox add-on with the following directory structure:
/
package.json
data/
icons/
icon48.png
In my package.json file I have this:
"icon": "data/icons/icon48.png",
(among other things). When I run jpm run
as recommended by the Firefox add-on docs, the extension loads but the icon is not visible in the add-on manager. Any idea what I'm missing? I have been referencing this page: https://developer.mozilla.org/en-US/Add-ons/SDK/Tools/package_json#icon, but no luck.
Thanks!
Try reinstalling Firefox: Close Firefox then download using another browser from https://www.mozilla.org/firefox/all/#product-desktop-release Save the file to somewhere convenient on your PC, then double click it to install Firefox.
Right-click on your toolbar to open toolbar settings. Click on Customize Toolbar. Firefox will open a new page with a list of items that you can drag into the toolbar.
Look in the Customize Box. If they are there, just click on them and shift to the toolbar. [Access Customize by right clicking on toolbar space or in the Three Horizontal Bar Menu.] Also look in this 3 bar Menu for Add-ons > Extensions to see if they are installed and see if they need to be enabled/activated.
Chosen solution Using your file browser, open the Programs Folder on your computer. Right click on Firefox.exe and select Create Shortcut. Now move the shortcut to the desktop.
Apparently this is a bug. See this issue in the jpm
repository.
For me, moving the icon image to the root directory (i.e. the same path as package.json
) and renaming it "icon.png" fixed the problem.
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