mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:43:05 +08:00
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 @@ namespace osu.Desktop.Overlays
|
|||||||
private async void updateChecker()
|
private async void updateChecker()
|
||||||
{
|
{
|
||||||
updateManager = await UpdateManager.GitHubUpdateManager(@"https://github.com/ppy/osu", @"osulazer", null, null, true);
|
updateManager = await UpdateManager.GitHubUpdateManager(@"https://github.com/ppy/osu", @"osulazer", null, null, true);
|
||||||
|
|
||||||
|
if (!updateManager.IsInstalledApp)
|
||||||
|
return;
|
||||||
|
|
||||||
var info = await updateManager.CheckForUpdate();
|
var info = await updateManager.CheckForUpdate();
|
||||||
if (info.ReleasesToApply.Count > 0)
|
if (info.ReleasesToApply.Count > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user