public bool CheckForUpdates() { var version = _updater.CheckForUpdate(); CurrentVersion = VersionManager.BuildFromString(ConfigurationManager.AppSettings["CurrentVersion"]); if (version != null && CurrentVersion != null && VersionManager.BuildFromString(version.TagName) > CurrentVersion) { if (Dialog.YesNoBox("Update?", _updater.GetChangeLog(version)) == Dialog.Button.Yes) { _updater.Update(version); } return(false); } return(true); }