问题
I would like to add another icon to the Firefox addon I develop than the standard Icon:
I use the firefox-addon-sdk jetpack to develop it
回答1:
You have to add it to your package.json
. That file is initially generated in your add-on's root directory the first time you run cfx init
. This will add an icon (assuming the add-on's directory is "my-addon"):`
{
"name": "my-addon",
"title": "my-addon",
"id": "jid1-1FERGV45e4f4f",
"description": "a basic add-on",
"icon": "icon.png",
"icon64": "icon64.png",
"author": "",
"license": "MPL 2.0",
"version": "0.1"
}
You can specify different icons for "icon" and "icon64"
here you see all possible options
来源:https://stackoverflow.com/questions/23853862/how-do-i-add-an-icon-to-my-firefox-add-on-with-addon-sdk