mirror of https://github.com/ppy/osu
Don't attempt to install/update on a non-installed version for now.
This commit is contained in:
parent
e32ccb6153
commit
01e774b1ec
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue