For the new jpm tool jpm you can use the following:
"icon :" "resource://<ADDONID>/data/icon.png"
Note. . In cfx you have id , these are some things like jid1-O1iNqbs7ifwqvA , but in the new jpm tool we donβt have any identifier, instead of name field instead of @jetpack ...
for example, for the old cfx add-ons with id from jid1-O1iNqbs7ifwqvA , we must do this as follows:
"id": " jid1-O1iNqbs7ifwqvA@jetpack ", "icon": "resource://jid1-O1iNqbs7ifwqvA-at-jetpack/data/icon.png"
You can also add icons for menu bar , addon page , open menu Menu , as shown below:
"icons":{ "16":"./data/icon-16.png", "32":"./data/icon-32.png", "64":"./data/icon-64.png", "128":"./data/icon-128.png", "256":"./data/icon-256.png", "512":"./data/icon-512.png" },
Useful links:
source share