fix for missing directory causing errors

This commit is contained in:
CWX 2022-07-03 23:39:10 +01:00
parent 91bbdac891
commit eb2d40547a

View File

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