Move migrations to own file and add user skin choice config migration

This commit is contained in:
Dean Herbert
2021-11-30 15:41:18 +09:00
parent 0efd565c8b
commit 6f66ecd77b
3 changed files with 149 additions and 107 deletions

View File

@ -198,6 +198,8 @@ namespace osu.Game
dependencies.Cache(realmFactory = new RealmContextFactory(Storage, "client", contextFactory));
new EFToRealmMigrator(contextFactory, realmFactory, LocalConfig).Run();
dependencies.CacheAs(Storage);
var largeStore = new LargeTextureStore(Host.CreateTextureLoaderStore(new NamespacedResourceStore<byte[]>(Resources, @"Textures")));