Merge pull request 'fix for missing directory causing errors' (#11) from CWX/Patcher:main into main

Reviewed-on: #11
This commit is contained in:
IsWaffle 2022-07-04 12:51:24 +00:00
commit 164e2f55f9

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}");
}