Remove unnecessary use of and remove StartupStorage

This commit is contained in:
Salman Ahmed
2020-05-31 19:49:03 +03:00
parent 82fe99cf4a
commit 2c6887e610
3 changed files with 7 additions and 7 deletions

View File

@ -119,7 +119,7 @@ namespace osu.Game.Tests.Visual
}
}
localStorage = new Lazy<Storage>(() => RuntimeInfo.StartupStorage.GetStorageForDirectory($"{GetType().Name}-{Guid.NewGuid()}"));
localStorage = new Lazy<Storage>(() => new NativeStorage(Path.Combine(RuntimeInfo.StartupDirectory, $"{GetType().Name}-{Guid.NewGuid()}")));
}
[Resolved]