diff --git a/Patcher/PatchClient/PatchClient.csproj b/Patcher/PatchClient/PatchClient.csproj index 46f10e9..3ce5b26 100644 --- a/Patcher/PatchClient/PatchClient.csproj +++ b/Patcher/PatchClient/PatchClient.csproj @@ -4,6 +4,8 @@ net6.0 true enable + 2.4 + 2.4 diff --git a/Patcher/PatchGenerator/PatchGenerator.csproj b/Patcher/PatchGenerator/PatchGenerator.csproj index 11470f1..0b2f4c9 100644 --- a/Patcher/PatchGenerator/PatchGenerator.csproj +++ b/Patcher/PatchGenerator/PatchGenerator.csproj @@ -4,6 +4,8 @@ net6.0 true enable + 2.4 + 2.4 @@ -21,12 +23,10 @@ - - diff --git a/Patcher/PatchGenerator/Resources/PatchClient.exe b/Patcher/PatchGenerator/Resources/PatchClient.exe index baf9e9a..207dbdf 100644 Binary files a/Patcher/PatchGenerator/Resources/PatchClient.exe and b/Patcher/PatchGenerator/Resources/PatchClient.exe differ diff --git a/Patcher/PatcherUtils/LazyOperations.cs b/Patcher/PatcherUtils/LazyOperations.cs index ae87916..aafd4eb 100644 --- a/Patcher/PatcherUtils/LazyOperations.cs +++ b/Patcher/PatcherUtils/LazyOperations.cs @@ -47,7 +47,10 @@ namespace PatcherUtils { FileInfo outputFile = new FileInfo(OutputFilePath); - if (outputFile.Exists) return; + if (outputFile.Exists) + { + outputFile.Delete(); + } if (!outputFile.Directory.Exists) {