1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 07:38:21 +08:00

Merge branch '#7146' of github.com:wltu/osu into #7146

This commit is contained in:
Willy Tu 2019-12-19 22:23:05 -08:00
commit 116940681c
8 changed files with 18 additions and 7 deletions

View File

@ -5,7 +5,7 @@ using UIKit;
namespace osu.Game.Rulesets.Catch.Tests.iOS namespace osu.Game.Rulesets.Catch.Tests.iOS
{ {
public class Application public static class Application
{ {
public static void Main(string[] args) public static void Main(string[] args)
{ {

View File

@ -5,7 +5,7 @@ using UIKit;
namespace osu.Game.Rulesets.Mania.Tests.iOS namespace osu.Game.Rulesets.Mania.Tests.iOS
{ {
public class Application public static class Application
{ {
public static void Main(string[] args) public static void Main(string[] args)
{ {

View File

@ -5,7 +5,7 @@ using UIKit;
namespace osu.Game.Rulesets.Osu.Tests.iOS namespace osu.Game.Rulesets.Osu.Tests.iOS
{ {
public class Application public static class Application
{ {
public static void Main(string[] args) public static void Main(string[] args)
{ {

View File

@ -5,7 +5,7 @@ using UIKit;
namespace osu.Game.Rulesets.Taiko.Tests.iOS namespace osu.Game.Rulesets.Taiko.Tests.iOS
{ {
public class Application public static class Application
{ {
public static void Main(string[] args) public static void Main(string[] args)
{ {

View File

@ -5,7 +5,7 @@ using UIKit;
namespace osu.Game.Tests.iOS namespace osu.Game.Tests.iOS
{ {
public class Application public static class Application
{ {
public static void Main(string[] args) public static void Main(string[] args)
{ {

View File

@ -11,7 +11,10 @@ using osu.Game.Overlays.Notifications;
namespace osu.Game.Updater namespace osu.Game.Updater
{ {
public abstract class UpdateManager : CompositeDrawable /// <summary>
/// An update manager which only shows notifications after an update completes.
/// </summary>
public class UpdateManager : CompositeDrawable
{ {
[Resolved] [Resolved]
private OsuConfigManager config { get; set; } private OsuConfigManager config { get; set; }

View File

@ -5,7 +5,7 @@ using UIKit;
namespace osu.iOS namespace osu.iOS
{ {
public class Application public static class Application
{ {
public static void Main(string[] args) public static void Main(string[] args)
{ {

View File

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