From f73228919fb16540e560ab4564a75c569f4738f1 Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Wed, 13 Mar 2013 09:24:55 -0400 Subject: [PATCH] Delete Pismo install files when finished --- MediaBrowser.Installer/MainWindow.xaml.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MediaBrowser.Installer/MainWindow.xaml.cs b/MediaBrowser.Installer/MainWindow.xaml.cs index 5ceccdf43..a48ce85d1 100644 --- a/MediaBrowser.Installer/MainWindow.xaml.cs +++ b/MediaBrowser.Installer/MainWindow.xaml.cs @@ -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 GetPackageVersion()