Prechádzať zdrojové kódy

Delete Pismo install files when finished

Eric Reed 12 rokov pred
rodič
commit
f73228919f
1 zmenil súbory, kde vykonal 4 pridanie a 0 odobranie
  1. 4 0
      MediaBrowser.Installer/MainWindow.xaml.cs

+ 4 - 0
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<PackageVersionInfo> GetPackageVersion()