Permanently delete client.db after migration completes

This commit is contained in:
Dean Herbert
2022-01-18 14:17:43 +09:00
parent a714941f93
commit b1a75ce480
2 changed files with 5 additions and 0 deletions

View File

@ -193,6 +193,7 @@ namespace osu.Game
dependencies.Cache(RulesetStore = new RulesetStore(realmFactory, Storage));
dependencies.CacheAs<IRulesetStore>(RulesetStore);
// A non-null context factory means there's still content to migrate.
if (efContextFactory != null)
new EFToRealmMigrator(efContextFactory, realmFactory, LocalConfig).Run();