From 0afe494dbfba69f076f4dbda692f5919c68be581 Mon Sep 17 00:00:00 2001 From: foudfou Date: Thu, 8 Sep 2011 01:47:54 +0200 Subject: [PATCH] really fix icon path (xpi needs to be unpacked) --- src/install.rdf | 4 ++-- src/modules/commons.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/install.rdf b/src/install.rdf index 4e04e3a..9ae9e69 100644 --- a/src/install.rdf +++ b/src/install.rdf @@ -2,10 +2,10 @@ moztray@foudil.fr - false + true 2 Mozilla Tray - 0.0.1 + 0.1.0 Foudil BRÉTEL Hua Luo, Francesco Solero (Firetray original authors) https://github.com/foudfou/moztray diff --git a/src/modules/commons.js b/src/modules/commons.js index b8c4618..9ccdc6b 100644 --- a/src/modules/commons.js +++ b/src/modules/commons.js @@ -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);