Add support for sparkle:requiredVersion to signify mandatory program updates. #138

wants to merge 1 commit into
Commits on Feb 6, 2012
  1. Add support for required version.

    Todd Foster committed Feb 6, 2012
    Check the appcastItem's enclosure for a field labeled
    "sparkle:requiredVersion". If found, compare that version to the host's
    currently-running version. If the host is not running at least the
    required version, do not allow it to launch without an update.  This
    means hiding the "Skip" and "Later" buttons in the Update alert, and
    terminating the program if the user closes the update alert dialog (via
    the window control) without launching the update.