This commit is contained in:
2dust
2024-09-08 10:45:05 +08:00
parent 8361b4e4a0
commit 07156cb55c
9 changed files with 53 additions and 1 deletions
@@ -117,6 +117,11 @@ namespace ServiceLib.ViewModels
{
return;
}
//exist
if (!File.Exists(fileName))
{
return;
}
//backup first
var fileBackup = Utils.GetBackupPath($"backup_{DateTime.Now:yyyyMMddHHmmss}.zip");