Switch to Json (broken)

This commit is contained in:
Tony Bark 2025-03-16 11:33:45 -04:00
parent 5cccb9a4b2
commit ac1d3862c6
8 changed files with 213 additions and 37 deletions

View file

@ -10,15 +10,15 @@ public class Config
/// <summary>
/// Gets or sets the name of the schedule file.
/// </summary>
public string? File { get; set; }
public string File { get; set; } = "schedule.txt";
/// <summary>
/// Gets or sets the directory path where the schedule file is stored.
/// </summary>
public string? Path { get; set; }
public string Path { get; set; } = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
/// <summary>
/// Gets or sets the list of available topics from the configuration file.
/// </summary>
public TomlArray? Topics { get; set; }
public IList<string> Topics { get; set; } = new[] { "Games", "Politics", "Research", "Technology" };
}