소스 검색

Fix target reference in updater

Eric Reed 12 년 전
부모
커밋
889bd32e9e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MediaBrowser.Common.Implementations/Updates/ApplicationUpdater.cs

+ 1 - 1
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
         }