www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit d2166540c686f0cad35c1b4f847807b28c092e4a
parent 59550167a708ad43f048a994bd20fe453fa04857
Author: Simon Kornblith <simon@simonster.com>
Date:   Fri, 12 Jul 2013 01:42:09 -0400

Zip as much as possible in ZSA without repacking omni.ja, part 1

Diffstat:
Mchrome/content/zotero/xpcom/schema.js | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js @@ -447,10 +447,11 @@ Zotero.Schema = new function(){ // Synchronous in Standalone if (Zotero.isStandalone) { - var appChrome = Components.classes["@mozilla.org/file/directory_service;1"] + var jar = Components.classes["@mozilla.org/file/directory_service;1"] .getService(Components.interfaces.nsIProperties) - .get("AChrom", Components.interfaces.nsIFile); - return _updateBundledFilesCallback(appChrome.parent, mode, skipDeleteUpdate); + .get("AChrom", Components.interfaces.nsIFile).parent; + jar.append("zotero.jar"); + return _updateBundledFilesCallback(jar, mode, skipDeleteUpdate); } // Asynchronous in Firefox