Remove iOS "import from stable" for now

This commit is contained in:
Dean Herbert 2019-10-31 19:18:54 +09:00
parent f13dc93a4d
commit e3ca64bb8c
3 changed files with 4 additions and 8 deletions

View File

@ -67,7 +67,7 @@ namespace osu.Game.Database
public virtual string[] HandledExtensions => new[] { ".zip" }; public virtual string[] HandledExtensions => new[] { ".zip" };
public virtual bool SupportsImportFromStable => (RuntimeInfo.IsDesktop || RuntimeInfo.OS == RuntimeInfo.Platform.iOS); public virtual bool SupportsImportFromStable => RuntimeInfo.IsDesktop;
protected readonly FileStore Files; protected readonly FileStore Files;

View File

@ -34,9 +34,9 @@
<key>UIStatusBarHidden</key> <key>UIStatusBarHidden</key>
<true/> <true/>
<key>NSCameraUsageDescription</key> <key>NSCameraUsageDescription</key>
<string>We don't really use the camera.</string> <string>We don&apos;t really use the camera.</string>
<key>NSMicrophoneUsageDescription</key> <key>NSMicrophoneUsageDescription</key>
<string>We don't really use the microphone.</string> <string>We don&apos;t really use the microphone.</string>
<key>UISupportedInterfaceOrientations</key> <key>UISupportedInterfaceOrientations</key>
<array> <array>
<string>UIInterfaceOrientationPortrait</string> <string>UIInterfaceOrientationPortrait</string>
@ -111,8 +111,6 @@
</array> </array>
</dict> </dict>
</array> </array>
<key>UIFileSharingEnabled</key>
<true/>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
<array> <array>
<dict> <dict>

View File

@ -3,14 +3,12 @@
using System; using System;
using Foundation; using Foundation;
using osu.Framework.Platform;
using osu.Game; using osu.Game;
namespace osu.iOS namespace osu.iOS
{ {
public class OsuGameIOS : OsuGame public class OsuGameIOS : OsuGame
{ {
public override Storage GetStorageForStableInstall() => Storage;
public override Version AssemblyVersion => new Version(NSBundle.MainBundle.InfoDictionary["CFBundleVersion"].ToString()); public override Version AssemblyVersion => new Version(NSBundle.MainBundle.InfoDictionary["CFBundleVersion"].ToString());
} }
} }