add:配置文件损坏自动恢复

This commit is contained in:
2025-10-01 00:01:35 +08:00
parent 1d3b96bb65
commit 46b064b0a8
7 changed files with 356 additions and 2 deletions
+9
View File
@@ -575,6 +575,15 @@ namespace Ink_Canvas
[JsonProperty("isAutoBackupBeforeUpdate")]
public bool IsAutoBackupBeforeUpdate { get; set; } = true;
[JsonProperty("isAutoBackupEnabled")]
public bool IsAutoBackupEnabled { get; set; } = true;
[JsonProperty("autoBackupIntervalDays")]
public int AutoBackupIntervalDays { get; set; } = 7;
[JsonProperty("lastAutoBackupTime")]
public DateTime LastAutoBackupTime { get; set; } = DateTime.MinValue;
[JsonProperty("isNoFocusMode")]
public bool IsNoFocusMode { get; set; } = true;