We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4513af3 commit b0c6279Copy full SHA for b0c6279
1 file changed
Updater/Program.cs
@@ -47,7 +47,17 @@ static void Main(string[] args)
47
File.Delete(destFile);
48
}
49
50
- File.Move(file, destFile);
+ try
51
+ {
52
+ if (File.Exists(destFile))
53
+ File.Delete(destFile);
54
+
55
+ File.Move(file, destFile);
56
+ }
57
+ catch (Exception ex)
58
59
+ Console.WriteLine($"Skipping file '{file}': {ex.Message}");
60
61
62
63
Directory.Delete(tempExtractPath, true);
0 commit comments