Merge pull request 'fix for missing directory causing errors' (#11) from CWX/Patcher:main into main
Reviewed-on: #11
This commit is contained in:
commit
164e2f55f9
@ -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}");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user