Point other profiles to new data dir after migration (+ code reorg)

Look for other profiles, from both apps (Firefox and Standalone), that
point to the data directory being migrated and update prefs.js in those
profiles to point to the new location.

Also reorganize code into Zotero.Profile and Zotero.DataDirectory
namespaces
This commit is contained in:
Dan Stillman 2016-11-26 22:41:26 -05:00
parent c0bf2b91f6
commit 4c0abb6816
13 changed files with 1338 additions and 919 deletions

View file

@ -33,6 +33,7 @@ const Ci = Components.interfaces;
/** XPCOM files to be loaded for all modes **/
const xpcomFilesAll = [
'zotero',
'dataDirectory',
'date',
'debug',
'error',
@ -41,6 +42,7 @@ const xpcomFilesAll = [
'mimeTypeHandler',
'openurl',
'ipc',
'profile',
'progressWindow',
'translation/translate',
'translation/translate_firefox',