This commit is contained in:
JustArchi
2020-06-13 17:23:41 +02:00
parent 513397ca0f
commit b4f73263e6

View File

@@ -67,7 +67,7 @@ namespace ArchiSteamFarm {
#pragma warning disable IDE0022
public static void Move([NotNull] string sourceFileName, [NotNull] string destFileName, bool overwrite) {
#if NETFRAMEWORK
if (System.IO.File.Exists(destFileName)) {
if (overwrite && System.IO.File.Exists(destFileName)) {
System.IO.File.Delete(destFileName);
}