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

This commit is contained in:
Simon Kornblith 2013-07-12 01:42:09 -04:00
parent 59550167a7
commit d2166540c6

View file

@ -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