2019-03-01 18:59:39 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using Foundation;
|
|
|
|
|
using osu.Game;
|
2019-12-20 12:50:57 +08:00
|
|
|
|
using osu.Game.Updater;
|
2019-03-01 18:59:39 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.iOS
|
|
|
|
|
{
|
|
|
|
|
public class OsuGameIOS : OsuGame
|
|
|
|
|
{
|
2019-03-01 22:20:34 +08:00
|
|
|
|
public override Version AssemblyVersion => new Version(NSBundle.MainBundle.InfoDictionary["CFBundleVersion"].ToString());
|
2019-12-20 12:50:57 +08:00
|
|
|
|
|
|
|
|
|
protected override void LoadComplete()
|
|
|
|
|
{
|
|
|
|
|
base.LoadComplete();
|
|
|
|
|
|
|
|
|
|
Add(new UpdateManager());
|
|
|
|
|
}
|
2019-03-01 18:59:39 +08:00
|
|
|
|
}
|
|
|
|
|
}
|