The two things I see are: Firefox uses SHA512 for the hash, which is what I use. I don't know if there is an acceptable list, or which functions are implemented in the updater.
The update is missing the buildID. The documentation is a little fuzzy, it doesn't say that this is optional, but the example excludes it. On 2014-04-04 08:32, Alex wrote: > So I'm attempting to get automatic updates to work, but the documentation on > MDN is a bit iffy to say the least. > > So what I gather happens during the update process: > > -> The application checks for an update.xml file in the url defined in > app.update.url > > -> If this file exists, download the update assuming the XML file is formed > correctly, otherwise there isn't an update so the application returns > "Application is up to date" > > Now so far, users seem to be getting the notification for an update > sporadically unless they set the location to the XML using > app.update.url.override in which case they get a notification immediately. > > When they do get the notification, it returns the version number correctly, > proceeds to download the MAR file without issue then prompts to restart the > application. When the application does restart though, it gives an error > message: "The update could not be installed (patch apply failed)". > > Here's the location of the update.xml: > https://www.waterfoxproject.org/update.xml > > I'm assuming it's an error caused by something on my part, most likely the > XML file. Could anyone offer any insight as to why this might be happening? > Thanks! > _______________________________________________ dev-builds mailing list dev-builds@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-builds