The Free Software Media System - Server Backend & API
Remove archive after extraction
Eric Reeddd5bb6890eed
diff --git a/MediaBrowser.Installer/MainWindow.xaml.cs b/MediaBrowser.Installer/MainWindow.xaml.csindex 6f64ded86d..a85a0cb9a4 100644--- a/MediaBrowser.Installer/MainWindow.xaml.cs+++ b/MediaBrowser.Installer/MainWindow.xaml.cs@@ -212,6 +212,19 @@ namespace MediaBrowser.Installertry{ExtractPackage(archive);+ // We're done with it so delete it (this is necessary for update operations)+ try+ {+ File.Delete(archive);+ }+ catch (FileNotFoundException)+ {+ }+ catch (Exception e)+ {++ SystemClose("Error Removing Archive - " + e.GetType().FullName + "\n\n" + e.Message);+ }}catch (Exception e){