我希望能够更新我的自我分发的firefox插件。到目前为止,我已经对包含UID: xyz@text.com的xpi文件进行了签名。但是,为了使更新生效,我的更新器.xpi文件也应该具有相同的UID:xyz@text.com。我可以通过将xpinstall.signatures.required关闭为False来更新火狐开发者模式。这是不可靠的,我希望有一个简单的方法,让mozilla签署我的更新程序.xpi文件,而不抛出重复的UID发现。
我研究了另外两种更新方法,它们看起来很复杂。即通过签名API和web-ext签名。
In my main .xpi's manifest file, I have the below.
"version": "1.0",
"browser_specific_settings": {
"gecko": {
"id": "xyz@text.com",
"update_url": "https://mydomain/files/updates.json"
}In my updater .xpi file, I have this.
"version": "1.2",
"browser_specific_settings": {
"gecko": {
"id": "xyz@text.com",
"update_url": "https://mydomain/files/updates.json"
}发布于 2020-02-17 15:46:24
这样啊,原来是这么回事。答案就在我的脸上。使用"Upload New Version“,然后我们可以上传包含相同UUID的updater.xpi文件,它不会显示"duplicate blahblah”。
https://stackoverflow.com/questions/60175020
复制相似问题