1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

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

View File

@ -47,6 +47,10 @@ namespace osu.Desktop.Overlays
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)
{