且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是否有用于Mozilla的API,用于更新已签名的插件?

更新时间:2023-01-25 17:03:20

您可以使用基于node.js的命令

You can use the node.js based command web-ext to sign extensions from command line.

与curl方法类似,您将获得颁发者/秘密,然后将其用作给定参数或环境变量:

Like with the curl approach you obtain the issuer/secret, then use those as given arguments or environment variables:

web-ext sign --api-key=$AMO_JWT_ISSUER --api-secret=$AMO_JWT_SECRET 

如果您需要使用代理:

web-ext sign --api-key=... --api-secret=... --api-proxy=https://yourproxy:6000

有关详细信息,请参见链接的文章. (及其其他功能).

Please see the linked article for details (and its other features).