Kaynağa Gözat

Delete Pismo install files when finished

Eric Reed 12 yıl önce
ebeveyn
işleme
f73228919f
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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()