Don't attempt to install/update on a non-installed version for now.

This commit is contained in:
Dean Herbert 2017-02-12 20:25:42 +09:00
parent e32ccb6153
commit 01e774b1ec
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,10 @@ protected override void Dispose(bool isDisposing)
private async void updateChecker()
{
updateManager = await UpdateManager.GitHubUpdateManager(@"https://github.com/ppy/osu", @"osulazer", null, null, true);
if (!updateManager.IsInstalledApp)
return;
var info = await updateManager.CheckForUpdate();
if (info.ReleasesToApply.Count > 0)
{