I recently ported an existing extension to WebExtensions (from the http://crossrider.com framework).
I got it to run successfully and then submitted it to AMO so now it’s been signed but it’s now an unlisted addon.
I can install the downloaded signed xpi from my local drive but have had no joy trying to get it to load from a URL. I get this message: “firefox prevented this site from asking you to install software on your computer”
What do I have to do to get it to install from a url? (and have it update automatically when I post a new update)?
I keep reading stuff and then finding it relates to SDK developed addons. I read about needing an install.rdf, an updates.json file.
I think the install.rdf is a jpm or the predecessor created thing so not relevant.
I put this in my main manifest file for the addon:
“applications”: {
“gecko”: {
“update_url”: “https://troysecure.com/dlbcaddy/dlbcaddy.updates.json”
}
},
and created this dlbcaddy.updates.json file:
{
“addons”: {
“05aaac00-ad0f-4a40-8c37-1ce76d95aea8”: {
“updates”: [
{
“version”: “1.0.1”,
“update_link”: “https://troysecure.com/dlbcaddy/dlbcaddy-1.0.1-an+fx.xpi”
},
{
“version”: “1.0.2”,
“update_link”: “https://troysecure.com/dlbcaddy/dlbcaddy-1.0.2-an+fx.xpi”
}
]
}
}
}
Can anyone tell me definitively what I need to do so that
(a) people can install from a url and
(b) updates will happen automatically
TIA
Troy