diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js index fa0977487..0d6e66698 100644 --- a/chrome/content/zotero/standalone/standalone.js +++ b/chrome/content/zotero/standalone/standalone.js @@ -41,18 +41,6 @@ const ZoteroStandalone = new function() { ZoteroPane.init(); ZoteroPane.makeVisible(); - // Run check for corrupt installation, where the wrong Gecko runtime is being used - if(Zotero.isMac && Zotero.isStandalone) { - var greDir = Components.classes["@mozilla.org/file/directory_service;1"] - .getService(Components.interfaces.nsIProperties) - .get("GreD", Components.interfaces.nsIFile); - if(greDir.isSymlink() || greDir.leafName !== "Current") { - var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] - .getService(Components.interfaces.nsIPromptService); - ps.alert(null, "", Zotero.getString('standalone.corruptInstallation')); - } - } - // Don't ask before handing http and https URIs var eps = Components.classes['@mozilla.org/uriloader/external-protocol-service;1'] .getService(Components.interfaces.nsIExternalProtocolService);