fix for missing directory causing errors
This commit is contained in:
parent
91bbdac891
commit
eb2d40547a
@ -448,6 +448,7 @@ namespace PatcherUtils
|
||||
|
||||
try
|
||||
{
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(destination));
|
||||
File.Copy(deltaFile.FullName, destination, true);
|
||||
PatchLogger.LogInfo($"File added: {destination}");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user