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 = []; var addons = [];
for (let addon of installed) { for (let addon of installed) {
switch (addon.id) { switch (addon.id) {
case "zotero@chnm.gmu.edu":
case "{972ce4c6-7e08-4474-a285-3208198ce6fd}": // Default theme case "{972ce4c6-7e08-4474-a285-3208198ce6fd}": // Default theme
continue; continue;
} }

View file

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

View file

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

View file

@ -4,7 +4,6 @@
// http://www.zotero.org/documentation/hidden_prefs // http://www.zotero.org/documentation/hidden_prefs
pref("extensions.zotero.firstRun2", true); 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.saveRelativeAttachmentPath", false);
pref("extensions.zotero.baseAttachmentPath", ""); pref("extensions.zotero.baseAttachmentPath", "");

View file

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