Skip to content

Commit

Permalink
Remove fallback code for symlinked Standalone dev build
Browse files Browse the repository at this point in the history
No longer possible
  • Loading branch information
dstillman committed Mar 27, 2017
1 parent 3a48439 commit 4477e42
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions chrome/content/zotero/xpcom/schema.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 4477e42

Please sign in to comment.