Add post-update notification for iOS users

This commit is contained in:
Dean Herbert
2019-12-20 13:50:57 +09:00
parent 3ac0e3ce51
commit 11214628ad
2 changed files with 12 additions and 1 deletions

View File

@ -4,11 +4,19 @@
using System;
using Foundation;
using osu.Game;
using osu.Game.Updater;
namespace osu.iOS
{
public class OsuGameIOS : OsuGame
{
public override Version AssemblyVersion => new Version(NSBundle.MainBundle.InfoDictionary["CFBundleVersion"].ToString());
protected override void LoadComplete()
{
base.LoadComplete();
Add(new UpdateManager());
}
}
}