fix for missing directory causing errors #11

Merged
waffle.lord merged 1 commits from :main into main 2022-07-04 08:51:25 -04:00

View File

@ -448,6 +448,7 @@ namespace PatcherUtils
try try
{ {
Directory.CreateDirectory(Path.GetDirectoryName(destination));
File.Copy(deltaFile.FullName, destination, true); File.Copy(deltaFile.FullName, destination, true);
PatchLogger.LogInfo($"File added: {destination}"); PatchLogger.LogInfo($"File added: {destination}");
} }