Explorar o código

Delete Pismo install files when finished

Eric Reed %!s(int64=12) %!d(string=hai) anos
pai
achega
f73228919f
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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()