The Free Software Media System - Server Backend & API
Proper root path for application
Eric Reed8c63515c4524
diff --git a/MediaBrowser.Common.Implementations/Updates/ApplicationUpdater.cs b/MediaBrowser.Common.Implementations/Updates/ApplicationUpdater.csindex 615e715ffb..d5d721292f 100644--- a/MediaBrowser.Common.Implementations/Updates/ApplicationUpdater.cs+++ b/MediaBrowser.Common.Implementations/Updates/ApplicationUpdater.cs@@ -47,7 +47,7 @@ namespace MediaBrowser.Common.Implementations.UpdatesFile.Copy(source, Path.Combine(Path.GetTempPath(), "SharpCompress.dll"), true);logger.Info("Starting updater process.");- Process.Start(tempUpdater, string.Format("product={0} archive=\"{1}\" caller={2} pismo=false version={3} service={4} installpath={5}", product, archive, Process.GetCurrentProcess().Id, version, restartServiceName ?? string.Empty, appPaths.ApplicationPath));+ Process.Start(tempUpdater, string.Format("product={0} archive=\"{1}\" caller={2} pismo=false version={3} service={4} installpath={5}", product, archive, Process.GetCurrentProcess().Id, version, restartServiceName ?? string.Empty, appPaths.ProgramDataPath));// That's it. The installer will do the work once we exit}