From 889bd32e9e798fe816f4ae1d0051e755c30eac5e Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Mon, 11 Mar 2013 11:03:10 -0400 Subject: [PATCH] Fix target reference in updater --- .../Updates/ApplicationUpdater.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Common.Implementations/Updates/ApplicationUpdater.cs b/MediaBrowser.Common.Implementations/Updates/ApplicationUpdater.cs index 3b06f2006..00e232e44 100644 --- a/MediaBrowser.Common.Implementations/Updates/ApplicationUpdater.cs +++ b/MediaBrowser.Common.Implementations/Updates/ApplicationUpdater.cs @@ -24,7 +24,7 @@ namespace MediaBrowser.Common.Implementations.Updates var target = Path.Combine(Path.GetTempPath(), UpdaterExe); var product = app == MBApplication.MBTheater ? "mbt" : "server"; File.Copy(source, target, true); - Process.Start(UpdaterExe, string.Format("product={0} archive=\"{1}\" caller={2}", product, archive, Process.GetCurrentProcess().Id)); + Process.Start(target, string.Format("product={0} archive=\"{1}\" caller={2}", product, archive, Process.GetCurrentProcess().Id)); // That's it. The installer will do the work once we exit }