优化代码

This commit is contained in:
2025-09-13 21:10:36 +08:00
parent 8c07e9b8a3
commit 326a9f1d75
7 changed files with 39 additions and 12 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ namespace Ink_Canvas.Helpers
// 文件路径策略
private static readonly string DeviceIdFilePath = Path.Combine(App.RootPath, "device_id.dat");
private static readonly string UsageStatsFilePath = Path.Combine(App.RootPath, "usage_stats.enc");
private static readonly string UsageStatsBackupPath = Path.Combine(App.RootPath, "saves", "usage_stats_backup.enc");
private static readonly string UsageStatsBackupPath = Path.Combine(App.RootPath, "Saves", "usage_stats_backup.enc");
private static readonly string DeviceId;
private static readonly object fileLock = new object();