Browse Source

Delete Pismo install files when finished

Eric Reed 12 năm trước cách đây
mục cha
commit
f73228919f
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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()