LANCommander/LANCommander.SDK/Models/Settings/Settings.cs
Aaron Powell e2b2654a61 Adding SQLite database migration step
Created a new abstraction for migrations that have to run against the file system, so that we don't need to do the check in each migration.

Adding the default DB name to the settings so it's got a const value.

Updated the Settings migrator to check a few more places
2025-12-17 17:09:36 +11:00

20 lines
No EOL
828 B
C#

namespace LANCommander.SDK.Models;
public class Settings
{
public const string DEFAULT_GAME_USERNAME = "Player";
public const string SETTINGS_FILE_NAME = "Settings.yml";
public const string SQLITE_DEFAULT_DB_NAME = "LANCommander.db";
public ArchiveSettings Archives { get; set; } = new();
public AuthenticationSettings Authentication { get; set; } = new();
public LauncherSettings Launcher { get; set; } = new();
public LibrarySettings Library { get; set; } = new();
public GameSettings Games { get; set; } = new();
public MediaSettings Media { get; set; } = new();
public DebugSettings Debug { get; set; } = new();
public UpdateSettings Updates { get; set; } = new();
public IPXRelaySettings IPXRelay { get; set; } = new();
public string Culture { get; set; } = "en-US";
}