Sfoglia il codice sorgente

Delete Pismo install files when finished

Eric Reed 12 anni fa
parent
commit
f73228919f
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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
             // And run
             try
             try
             {
             {
@@ -289,6 +292,7 @@ namespace MediaBrowser.Installer
             pismo.StartInfo.Arguments = "install";
             pismo.StartInfo.Arguments = "install";
             pismo.Start();
             pismo.Start();
             pismo.WaitForExit();
             pismo.WaitForExit();
+
         }
         }
 
 
         protected async Task<PackageVersionInfo> GetPackageVersion()
         protected async Task<PackageVersionInfo> GetPackageVersion()