mirror of
https://github.com/moparisthebest/FireTray
synced 2024-12-23 06:18:48 -05:00
really fix icon path (xpi needs to be unpacked)
This commit is contained in:
parent
11a238f21b
commit
0afe494dbf
@ -2,10 +2,10 @@
|
||||
<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>moztray@foudil.fr</em:id>
|
||||
<em:unpack>false</em:unpack>
|
||||
<em:unpack>true</em:unpack> <!-- needed for embedded icons -->
|
||||
<em:type>2</em:type>
|
||||
<em:name>Mozilla Tray</em:name>
|
||||
<em:version>0.0.1</em:version>
|
||||
<em:version>0.1.0</em:version>
|
||||
<em:creator>Foudil BRÉTEL</em:creator>
|
||||
<em:contributor>Hua Luo, Francesco Solero (Firetray original authors)</em:contributor>
|
||||
<em:homepageURL>https://github.com/foudfou/moztray</em:homepageURL>
|
||||
|
@ -47,6 +47,7 @@ mozt.Utils = {
|
||||
let registeryValue = Cc['@mozilla.org/chrome/chrome-registry;1']
|
||||
.getService(Ci.nsIChromeRegistry)
|
||||
.convertChromeURL(uri).spec;
|
||||
LOG(registeryValue);
|
||||
|
||||
if (/^file:/.test(registeryValue))
|
||||
registeryValue = this._urlToPath(registeryValue);
|
||||
|
Loading…
Reference in New Issue
Block a user