From eb2d40547ab0544d1841d3acfe6e41c22db3bd5e Mon Sep 17 00:00:00 2001 From: CWX Date: Sun, 3 Jul 2022 23:39:10 +0100 Subject: [PATCH] fix for missing directory causing errors --- Patcher/PatcherUtils/PatchHelper.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Patcher/PatcherUtils/PatchHelper.cs b/Patcher/PatcherUtils/PatchHelper.cs index 489fc6f..8e4fc2d 100644 --- a/Patcher/PatcherUtils/PatchHelper.cs +++ b/Patcher/PatcherUtils/PatchHelper.cs @@ -448,6 +448,7 @@ namespace PatcherUtils try { + Directory.CreateDirectory(Path.GetDirectoryName(destination)); File.Copy(deltaFile.FullName, destination, true); PatchLogger.LogInfo($"File added: {destination}"); } -- 2.47.1