private bool Update (UpdateStep updateStep) { var currentVersion = GetParsedCurrentVersion(); if (currentVersion >= updateStep.TargetVersion) return false; updateStep.ExecuteActions(); Version = updateStep.TargetVersion.ToString(); return true; }
private bool Update(UpdateStep updateStep) { var registryVersion = GetParsedRegistryVersion(); if (registryVersion >= updateStep.TargetVersion) { return(false); } updateStep.ExecuteActions(); Version = updateStep.TargetVersion.ToString(); return(true); }