1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 02:30:06 +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
Unverified
parent e32ccb6153
commit 01e774b1ec
+4
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)
{