Optimize backup

https://github.com/2dust/v2rayN/issues/5681
This commit is contained in:
2dust
2024-09-16 13:37:38 +08:00
parent 233d605256
commit 8505f2db96
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -143,6 +143,10 @@ namespace ServiceLib.Common
{
continue;
}
if (file.Extension == file.Name)
{
continue;
}
string targetFilePath = Path.Combine(destinationDir, file.Name);
file.CopyTo(targetFilePath);
}