title: Firefox addon - icon not showing
body: <p>I'm trying to write an Addon for Firefox. For this I'm using the Mozilla "Addon-SDK".  </p>
  
  <p>When i use the "jpm run" function all works well. But as soon as i package it to an xpi and install it, the icon wont show up in the toolbar. This seems to be a bug in the SDK.<br>
  I have tried various workaround solutions from other blog posts.  </p>
  
  <ul>
  <li>Editing package.json  </li>
  <li>renaming to "icon"  </li>
  <li>moving to data  </li>
  <li>Moving the icon to root  </li>
  <li>Absolute paths  </li>
  <li>editing the firefox version in rdf  </li>
  <li>debuging Index.js... </li>
  </ul>
  
  <p>Here the most useful:</p>
  
  <p><a href="https://stackoverflow.com/questions/19386429/firefox-add-on-extension-icon-not-showing">Firefox add-on : extension icon not showing</a><br>
  <a href="https://github.com/mozilla-jetpack/jpm/issues/197" rel="nofollow">https://github.com/mozilla-jetpack/jpm/issues/197</a></p>
  
  <p>Since Firefox 43 addons must be verifyed. I did this. I also disabled the function in about:config so i could try new versions faster. Still no luck.  </p>
  
  <p>Here is my code in <strong>index.js</strong>:  <em>Edited according to answer but still not working</em> </p>
  
  <pre><code>    var button = buttons.ActionButton(
      {
        id: "MorastLink",
        label: "In den Morast",
        icon:
        {
          "16": "./images/icon16.png",
          "32": "./images/icon32.png",
          "64": "./images/icon64.png"
        },
      onClick: CopyToMorast
      });  
  </code></pre>
  
  <p>Here I also tried, moving the path, changing names, using absolute path...  </p>
  
  <p>And this is my <strong>package.json</strong></p>
  
  <pre><code>    {
        "title": "Morast",
        "name": "morastaddon",
        "version": "0.1.4",
        "description": "An Addon to insert a \"Add to Morast\" button on distributer sites.",
        "main": "index.js",
        "author": "Lisa Austen",
        "icon": "ressource://@morastaddon/data/images/icon16.png",
        "icon64": "ressource://@morastaddon/data/images/icon64.png",
        "engines": {
        "firefox": "&gt;=38.0a1",
        "fennec": "&gt;=38.0a1" },
        "license": "MIT",
        "keywords": [
        "jetpack"
      ]
      }
  </code></pre>
  
  <p><a href="https://github.com/LAusten/MorastAddon.git" rel="nofollow">https://github.com/LAusten/MorastAddon.git</a></p>