1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 08:50:00 +08:00
Files
osu-lazer/osu.Game/Configuration/DevelopmentOsuConfigManager.cs
T
Dean Herbert f6cd5f87ee Move configuration migrations to OsuGame (#37839)
As we go forward, migrations are going to likely become more complex,
requiring access to more components and also at a point in time where
they are ready.

In the upcoming case, `DialogOverlay` and `Audio` are important. Access
to `Audio` is a killer as migrations were run before the `GameHost` has
a chance to initialise it.

---------

Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2026-05-21 10:41:11 +02:00

18 lines
495 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Platform;
namespace osu.Game.Configuration
{
public class DevelopmentOsuConfigManager : OsuConfigManager
{
protected override string Filename => base.Filename.Replace(".ini", ".dev.ini");
public DevelopmentOsuConfigManager(Storage storage)
: base(storage)
{
}
}
}