mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 04:23:12 +00:00
Revert overload usage
yay core/framework enhancements
This commit is contained in:
parent
edc95efe95
commit
1520210e68
1 changed files with 5 additions and 1 deletions
|
@ -66,7 +66,11 @@ namespace PKHeX.WinForms
|
|||
continue;
|
||||
|
||||
var loc = Path.Combine(dir, fn);
|
||||
File.Move(f, loc, true);
|
||||
if (File.Exists(loc))
|
||||
File.Delete(loc);
|
||||
File.Move(f, loc);
|
||||
// if net framework support is ever removed, use the new overload instead of the stuff above:
|
||||
// File.Move(f, loc, true);
|
||||
}
|
||||
|
||||
Application.Exit();
|
||||
|
|
Loading…
Reference in a new issue