public async Task <bool> IsUpdateAvailableAsync(bool ignoreCache = false)
        {
            if (ignoreCache || cachedRelease is null)
            {
                cachedRelease = await client.GetLatestReleaseAsync <GitHubReleaseModel>().ConfigureAwait(false);

                updateAvailable = cachedRelease != null && cachedRelease.Name != version && cachedRelease.Name.StartsWith('v') && cachedRelease.Name.Count(s => s == '.') == 2;
            }
            return(updateAvailable);
        }
 public void ClearCache()
 {
     cachedRelease   = null;
     updateAvailable = false;
 }