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);
|
xpiZipReader.open(installLocation);
|
||||||
|
|
||||||
if(Zotero.isStandalone && !xpiZipReader.hasEntry("translators.index")) {
|
if(Zotero.isStandalone && !xpiZipReader.hasEntry("translators.index")) {
|
||||||
// Symlinked Standalone build
|
// Symlinked dev Standalone build
|
||||||
var installLocation2 = installLocation.parent;
|
var installLocation2 = installLocation.parent,
|
||||||
installLocation2.append("translators");
|
translatorsDir = installLocation2.clone();
|
||||||
if(installLocation2.exists()) {
|
translatorsDir.append("translators");
|
||||||
|
if(translatorsDir.exists()) {
|
||||||
installLocation = installLocation2;
|
installLocation = installLocation2;
|
||||||
isUnpacked = true;
|
isUnpacked = true;
|
||||||
xpiZipReader.close();
|
xpiZipReader.close();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue