# Functions
ApplyUpdate downloads and applies the update indicated by version v.
HasUpdate tells us if there is a new stable or prerelease update available.
ShouldRunCheck checks the file f for a timestamp and returns true if the last update check was >= autoCheckInterval .