From 02689331f9039a89336322df3d11ab04b609f6c7 Mon Sep 17 00:00:00 2001
From: TiberiumFusion <6332277+TiberiumFusion@users.noreply.github.com>
Date: Tue, 2 Jan 2024 16:42:53 -0500
Subject: [PATCH] Remove old files in PatchPayloads build folder on build
---
QuickPatcher/QuickPatcher.csproj | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/QuickPatcher/QuickPatcher.csproj b/QuickPatcher/QuickPatcher.csproj
index 3050220..fc2c96d 100644
--- a/QuickPatcher/QuickPatcher.csproj
+++ b/QuickPatcher/QuickPatcher.csproj
@@ -188,6 +188,7 @@
- xcopy "$(ProjectDir)Resources\PatchPayloads" "$(TargetDir)PatchPayloads\" /s /y
+ rmdir "$(TargetDir)PatchPayloads\" /s /q
+xcopy "$(ProjectDir)Resources\PatchPayloads" "$(TargetDir)PatchPayloads\" /s /y
\ No newline at end of file