make lazy loaded paths more nimble

This commit is contained in:
Luke Pulverenti
2013-12-29 09:12:29 -05:00
parent e19766b1b7
commit 3488cfecbd
13 changed files with 536 additions and 539 deletions

View File

@@ -528,6 +528,7 @@ namespace MediaBrowser.Common.Implementations.Updates
// Success - move it to the real target
try
{
Directory.CreateDirectory(Path.GetDirectoryName(target));
File.Copy(tempFile, target, true);
//If it is an archive - write out a version file so we know what it is
if (isArchive)