And remove all references to old id

We can do this because plugins will use new mechanisms for install and
update manifests that don't use the id (which also means it's now only
used internally).
This commit is contained in:
Dan Stillman 2022-08-08 04:22:29 -04:00
parent ef33731490
commit 78b0055206
5 changed files with 2 additions and 9 deletions

View file

@ -1342,7 +1342,6 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
var addons = [];
for (let addon of installed) {
switch (addon.id) {
case "zotero@chnm.gmu.edu":
case "{972ce4c6-7e08-4474-a285-3208198ce6fd}": // Default theme
continue;
}

View file

@ -1,5 +1,3 @@
extensions.zotero@chnm.gmu.edu.description = The Next-Generation Research Tool
general.success = Success
general.error = Error
general.warning = Warning

View file

@ -458,10 +458,7 @@ var _isStandalone = null;
* Determine whether Zotero Standalone is running
*/
function isStandalone() {
if(_isStandalone === null) {
_isStandalone = Services.appinfo.ID === 'zotero@chnm.gmu.edu';
}
return _isStandalone;
return true;
}
function getOS() {

View file

@ -4,7 +4,6 @@
// http://www.zotero.org/documentation/hidden_prefs
pref("extensions.zotero.firstRun2", true);
pref("extensions.zotero@chnm.gmu.edu.description", "chrome://zotero/locale/zotero.properties");
pref("extensions.zotero.saveRelativeAttachmentPath", false);
pref("extensions.zotero.baseAttachmentPath", "");

View file

@ -1,5 +1,5 @@
var ZOTERO_CONFIG = {
GUID: 'zotero@chnm.gmu.edu',
GUID: 'zotero@zotero.org',
ID: 'zotero', // used for db filename, etc.
CLIENT_NAME: 'Zotero',
DOMAIN_NAME: 'zotero.org',