mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Expression body and spacing.
This commit is contained in:
@ -14,10 +14,7 @@ namespace osu.Desktop.Beatmaps.IO
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class LegacyFilesystemReader : ArchiveReader
|
public class LegacyFilesystemReader : ArchiveReader
|
||||||
{
|
{
|
||||||
public static void Register()
|
public static void Register() => AddReader<LegacyFilesystemReader>((storage, path) => Directory.Exists(path));
|
||||||
{
|
|
||||||
AddReader<LegacyFilesystemReader>((storage, path) => Directory.Exists(path));
|
|
||||||
}
|
|
||||||
|
|
||||||
private string basePath { get; set; }
|
private string basePath { get; set; }
|
||||||
private string[] beatmaps { get; set; }
|
private string[] beatmaps { get; set; }
|
||||||
|
@ -25,6 +25,7 @@ namespace osu.Desktop
|
|||||||
public static int Main(string[] args)
|
public static int Main(string[] args)
|
||||||
{
|
{
|
||||||
LegacyFilesystemReader.Register();
|
LegacyFilesystemReader.Register();
|
||||||
|
|
||||||
using (DesktopGameHost host = Host.GetSuitableHost(@"osu", true))
|
using (DesktopGameHost host = Host.GetSuitableHost(@"osu", true))
|
||||||
{
|
{
|
||||||
if (!host.IsPrimaryInstance)
|
if (!host.IsPrimaryInstance)
|
||||||
|
Reference in New Issue
Block a user