Fix path for translators/styles directories in symlinked dev Standalone build
This commit is contained in:
parent
a5bc68bc17
commit
2f275a187c
1 changed files with 5 additions and 4 deletions
|
@ -512,10 +512,11 @@ Zotero.Schema = new function(){
|
|||
xpiZipReader.open(installLocation);
|
||||
|
||||
if(Zotero.isStandalone && !xpiZipReader.hasEntry("translators.index")) {
|
||||
// Symlinked Standalone build
|
||||
var installLocation2 = installLocation.parent;
|
||||
installLocation2.append("translators");
|
||||
if(installLocation2.exists()) {
|
||||
// Symlinked dev Standalone build
|
||||
var installLocation2 = installLocation.parent,
|
||||
translatorsDir = installLocation2.clone();
|
||||
translatorsDir.append("translators");
|
||||
if(translatorsDir.exists()) {
|
||||
installLocation = installLocation2;
|
||||
isUnpacked = true;
|
||||
xpiZipReader.close();
|
||||
|
|
Loading…
Reference in a new issue