From 9e9efaf491e5616d71345df8f4a142097d86c393 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sat, 6 Sep 2025 19:35:51 -0400 Subject: [PATCH] Always overwrite --- NDecrypt.Core/DSTool.cs | 4 ++-- NDecrypt.Core/ThreeDSTool.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NDecrypt.Core/DSTool.cs b/NDecrypt.Core/DSTool.cs index 3896106..bfefcf3 100644 --- a/NDecrypt.Core/DSTool.cs +++ b/NDecrypt.Core/DSTool.cs @@ -27,7 +27,7 @@ namespace NDecrypt.Core { // If the output is provided, copy the input file if (output != null) - File.Copy(input, output); + File.Copy(input, output, overwrite: true); else output = input; @@ -79,7 +79,7 @@ namespace NDecrypt.Core { // If the output is provided, copy the input file if (output != null) - File.Copy(input, output); + File.Copy(input, output, overwrite: true); else output = input; diff --git a/NDecrypt.Core/ThreeDSTool.cs b/NDecrypt.Core/ThreeDSTool.cs index 4abf317..f4aa503 100644 --- a/NDecrypt.Core/ThreeDSTool.cs +++ b/NDecrypt.Core/ThreeDSTool.cs @@ -48,7 +48,7 @@ namespace NDecrypt.Core { // If the output is provided, copy the input file if (output != null) - File.Copy(input, output); + File.Copy(input, output, overwrite: true); else output = input; @@ -467,7 +467,7 @@ namespace NDecrypt.Core { // If the output is provided, copy the input file if (output != null) - File.Copy(input, output); + File.Copy(input, output, overwrite: true); else output = input;