darkContrast icon indicating copy to clipboard operation
darkContrast copied to clipboard

Can't install from AMO on Icecat 52.3.0

Open ghost opened this issue 7 years ago • 1 comments

Trying to install this addon from addons.mozilla.org results in the "this addon can't be installed because it appears to be corrupt" error.

I've managed to install it manually by adding this key to manifest.json:

"applications": {
        "gecko": {
            "id": "[email protected]",
            "strict_min_version": "42.0"
        }

This allows me to pack the contents of src folder into a .xpi archive, move the archive into my Icecat profile extensions folder, and in about:addons I can then click the gear icon and choose "Install from file". Without the applications key, trying to install from file still results in the "appears to be corrupt" error.

See here for more information on the applications key. You will probably want to put your own email as the ID if you use this fix.

ghost avatar Nov 12 '17 20:11 ghost

Unfortunately, I don't think I can set the extension ID anymore. The Mozilla docs state that one has already been automatically generated when I did the first submission, and adding one would require me to upload it as a new extension. I'm assuming the reason it worked for you is because you manually re-packaged the extension, which results in it being unsigned, which in turn requires the ID to be present (See bottom of https://developer.mozilla.org/en-US/Add-ons/WebExtensions/WebExtensions_and_the_Add-on_ID).

I have had the odd report of similar issues with installation from AMO, and have even seen them myself. It has always seemed to be temporary, and I've chalked it up to issues with Mozilla's servers. See if it works if you try again. I also include a copy of the signed XPI here on github as well, in the release section (you would need to allow github to ask to install extensions for this to work)

DmitriK avatar Dec 18 '17 17:12 DmitriK