« »

patch for “custom action” for mozilla updater

Monday, 10 September 2007

Here is a patch (against a slightly out of date updater.cpp on the Mozilla 1.8 branch) that would add support for a:

customaction "relative-path-to-executable"

action in the "update.manifest" for a partial or full update (.mar file) for the Mozilla update system.

I'm just chucking this up here quickly for lack of a better place to put it right now. Komodo uses the Mozilla update system and will possibly need this patch at some point.

Limitations:

  • It ignores the return value of the spawned executable.
  • It doesn't support arguments to the executable.

Tagged: komodo, mozilla