mozilla / web-ext

A command line tool to help build, run, and test web extensions
Mozilla Public License 2.0
2.72k stars 341 forks source link

Can not install add-on because it appears corrupt #3307

Closed dotnetCarpenter closed 4 days ago

dotnetCarpenter commented 4 days ago

Is this a feature request or a bug?

Bug

What is the current behaviour?

Can not install add-on because Firefox says it appears corrupt.

Produced zip with web-ext build --overwrite-dest: filtrer_sport-2024.11.20.zip

Repo: https://github.com/dotnetCarpenter/filtrer-sport/

npm run lint reports no error.

web-ext lint -a web-ext-artifacts/
Validation Summary:

errors          0              
notices         0              
warnings        0 

What is the expected or desired behaviour?

That the linter reports an error or that the add-on will install.

Version information (for bug reports)

web-ext: 8.3.0 node: v20.18.0 npm: 10.9.0

Might be related: #847, #1164

dotnetCarpenter commented 4 days ago

My add-on works fine with web-ext run. It's only the build process that does not produce the correct result.

willdurand commented 4 days ago

did you submit your add-on to AMO to get it signed?

Rob--W commented 4 days ago

What is the xpi file that you are trying to install?

dotnetCarpenter commented 4 days ago

@willdurand I didn't submit it yet. I thought to test it out locally first and perhaps make some improvements before publishing. I found https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/ but it was not obvious on https://extensionworkshop.com/. In other words - difficult to find.

Thanks for pointing me in the right direction.