mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +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;
|
continue;
|
||||||
|
|
||||||
var loc = Path.Combine(dir, fn);
|
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();
|
Application.Exit();
|
||||||
|
|
Loading…
Add table
Reference in a new issue