2019-03-01 10:59:39 +00: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 04:50:57 +00:00
|
|
|
|
using osu.Game.Updater;
|
2019-03-01 10:59:39 +00:00
|
|
|
|
|
|
|
|
|
namespace osu.iOS
|
|
|
|
|
{
|
|
|
|
|
public class OsuGameIOS : OsuGame
|
|
|
|
|
{
|
2019-03-01 14:20:34 +00:00
|
|
|
|
public override Version AssemblyVersion => new Version(NSBundle.MainBundle.InfoDictionary["CFBundleVersion"].ToString());
|
2019-12-20 04:50:57 +00:00
|
|
|
|
|
|
|
|
|
protected override void LoadComplete()
|
|
|
|
|
{
|
|
|
|
|
base.LoadComplete();
|
|
|
|
|
|
|
|
|
|
Add(new UpdateManager());
|
|
|
|
|
}
|
2019-03-01 10:59:39 +00:00
|
|
|
|
}
|
|
|
|
|
}
|