Delete Pismo install files when finished

This commit is contained in:
Eric Reed 2013-03-13 09:24:55 -04:00
parent 13140003a6
commit f73228919f

View File

@ -265,6 +265,9 @@ namespace MediaBrowser.Installer
}
}
// Now delete the pismo install files
Directory.Delete(Path.Combine(RootPath, "Pismo"), true);
// And run
try
{
@ -289,6 +292,7 @@ namespace MediaBrowser.Installer
pismo.StartInfo.Arguments = "install";
pismo.Start();
pismo.WaitForExit();
}
protected async Task<PackageVersionInfo> GetPackageVersion()