From cdb60b5c4c16b02ee430092c3a0b80fbad72845b Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Wed, 25 Sep 2013 16:36:11 -0400 Subject: [PATCH] New compression lib in ApplicationUpdater.cs --- .../Updates/ApplicationUpdater.cs | 4 ++-- .../MediaBrowser.ServerApplication.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MediaBrowser.Common.Implementations/Updates/ApplicationUpdater.cs b/MediaBrowser.Common.Implementations/Updates/ApplicationUpdater.cs index c01430026..4a15f452a 100644 --- a/MediaBrowser.Common.Implementations/Updates/ApplicationUpdater.cs +++ b/MediaBrowser.Common.Implementations/Updates/ApplicationUpdater.cs @@ -38,8 +38,8 @@ namespace MediaBrowser.Common.Implementations.Updates // Our updater needs SS and ionic source = Path.Combine(appPaths.ProgramSystemPath, "ServiceStack.Text.dll"); File.Copy(source, Path.Combine(Path.GetTempPath(), "ServiceStack.Text.dll"), true); - source = Path.Combine(appPaths.ProgramSystemPath, "Ionic.Zip.dll"); - File.Copy(source, Path.Combine(Path.GetTempPath(), "Ionic.Zip.dll"), true); + source = Path.Combine(appPaths.ProgramSystemPath, "SharpCompress.dll"); + File.Copy(source, Path.Combine(Path.GetTempPath(), "SharpCompress.dll"), true); Process.Start(tempUpdater, string.Format("product={0} archive=\"{1}\" caller={2} pismo=false version={3}", product, archive, Process.GetCurrentProcess().Id, version)); // That's it. The installer will do the work once we exit diff --git a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj index 0aa5179e0..58d521f62 100644 --- a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj +++ b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj @@ -419,7 +419,7 @@ mkdir "$(SolutionDir)..\Deploy\Server\System\dashboard-ui" xcopy "$(TargetDir)dashboard-ui" "$(SolutionDir)..\Deploy\Server\System\dashboard-ui" /y /s del "$(SolutionDir)..\Deploy\MBServer.zip" -"$(SolutionDir)ThirdParty\7zip\7za" a -tzip -mx9 "$(SolutionDir)..\Deploy\MBServer.zip" "$(SolutionDir)..\Deploy\Server\*" +"$(SolutionDir)ThirdParty\7zip\7za" a -mx9 "$(SolutionDir)..\Deploy\MBServer.zip" "$(SolutionDir)..\Deploy\Server\*" )