commit 4477e42cf953583a748a099719a5a426c8986779 parent 3a48439c1d3b76622a469698975dd2fb401e7f4f Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 27 Mar 2017 02:07:14 -0400 Remove fallback code for symlinked Standalone dev build No longer possible Diffstat:
| M | chrome/content/zotero/xpcom/schema.js | | | 11 | ----------- |
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js @@ -513,17 +513,6 @@ Zotero.Schema = new function(){ var xpiZipReader = Components.classes["@mozilla.org/libjar/zip-reader;1"] .createInstance(Components.interfaces.nsIZipReader); xpiZipReader.open(new FileUtils.File(installLocation)); - - if(Zotero.isStandalone && !xpiZipReader.hasEntry("translators.index")) { - // Symlinked dev Standalone build - let parentDir = OS.Path.dirname(installLocation); - let translatorsDir = OS.Path.join(parentDir, 'translators'); - if (yield OS.File.exists(translatorsDir)) { - installLocation = parentDir; - isUnpacked = true; - xpiZipReader.close(); - } - } } switch (mode) {