Merge branch 'master' into update-button

This commit is contained in:
Dean Herbert
2020-06-12 18:00:36 +09:00
84 changed files with 1242 additions and 381 deletions

View File

@ -47,7 +47,7 @@ namespace osu.Desktop.Updater
try
{
if (updateManager == null) 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);
var info = await updateManager.CheckForUpdate(!useDeltaPatching);
if (info.ReleasesToApply.Count == 0)