Initial commit

This commit is contained in:
Craftplacer
2020-05-07 08:07:22 +02:00
parent c8134162b5
commit 836efe3f7c
4 changed files with 24 additions and 3 deletions

View File

@ -30,9 +30,11 @@ namespace osu.Game.Updater
version = game.Version;
if (game.IsDeployedBuild)
Schedule(() => Task.Run(checkForUpdateAsync));
CheckForUpdate();
}
public override void CheckForUpdate() => Schedule(() => Task.Run(checkForUpdateAsync));
private async void checkForUpdateAsync()
{
try