PKHeX/PKHeX.Core/Editing/Program/Settings/BackupSettings.cs
Kurt 93a381bfde Startup: load config before Main ctor
Allows specifying Dark mode in settings now.
Extracts reusable settings objects to PKHeX.Core (drawing/GUI stuff kept in WinForms).
Updating settings now refreshes backup paths/mgdb
2025-08-13 20:59:46 -05:00

19 lines
707 B
C#

using System.Collections.Generic;
namespace PKHeX.Core;
public sealed class BackupSettings
{
[LocalizedDescription("Automatic Backups of Save Files are copied to the backup folder when true.")]
public bool BAKEnabled { get; set; } = true;
[LocalizedDescription("Tracks if the \"Create Backup\" prompt has been issued to the user.")]
public bool BAKPrompt { get; set; }
[LocalizedDescription("List of extra locations to look for Save Files.")]
public List<string> OtherBackupPaths { get; set; } = [];
[LocalizedDescription("Save File file-extensions (no period) that the program should also recognize.")]
public List<string> OtherSaveFileExtensions { get; set; } = [];
}