diff --git a/chrome/content/zotero/fileInterface.js b/chrome/content/zotero/fileInterface.js index 2d4d9f2e22..d79c4b6546 100644 --- a/chrome/content/zotero/fileInterface.js +++ b/chrome/content/zotero/fileInterface.js @@ -218,7 +218,7 @@ var Zotero_File_Interface = new function() { path = OS.Path.join(path, 'Library', 'Application Support', 'Mendeley Desktop'); } else if (Zotero.isWin) { - path = OS.Path.join(path, 'AppData', 'Local', 'Mendeley Ltd', 'Desktop'); + path = OS.Path.join(path, 'AppData', 'Local', 'Mendeley Ltd', 'Mendeley Desktop'); } else if (Zotero.isLinux) { path = OS.Path.join(path, '.local', 'share', 'data', 'Mendeley Ltd.', 'Mendeley Desktop'); diff --git a/chrome/content/zotero/import/mendeley/mendeleyImport.js b/chrome/content/zotero/import/mendeley/mendeleyImport.js index c7b56f0823..8cdffb03ad 100644 --- a/chrome/content/zotero/import/mendeley/mendeleyImport.js +++ b/chrome/content/zotero/import/mendeley/mendeleyImport.js @@ -1042,7 +1042,7 @@ Zotero_Import_Mendeley.prototype._findExistingFile = function (parentItemID, fil Zotero_Import_Mendeley.prototype._isDownloadedFile = function (path) { var parentDir = OS.Path.dirname(path); return parentDir.endsWith(OS.Path.join('Application Support', 'Mendeley Desktop', 'Downloaded')) - || parentDir.endsWith(OS.Path.join('Local', 'Mendeley Ltd', 'Desktop', 'Downloaded')) + || parentDir.endsWith(OS.Path.join('Local', 'Mendeley Ltd', 'Mendeley Desktop', 'Downloaded')) || parentDir.endsWith(OS.Path.join('data', 'Mendeley Ltd.', 'Mendeley Desktop', 'Downloaded')); }