Fixed JSON error

- If JSON file doesn't exist, write one that does and add brackets.
- Trim any white space in the values
This commit is contained in:
Tony Bark 2025-03-16 12:58:46 -04:00
parent ac1d3862c6
commit 2dd63ccba0
2 changed files with 18 additions and 13 deletions

View file

@ -10,7 +10,7 @@ public class Config
/// <summary>
/// Gets or sets the name of the schedule file.
/// </summary>
public string File { get; set; } = "schedule.txt";
public string File { get; set; } = "schedule.json";
/// <summary>
/// Gets or sets the directory path where the schedule file is stored.