mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Enclose installpath in quotes on updater call
This commit is contained in:
parent
fb51f1e6f0
commit
3bbb30f5cc
@ -47,7 +47,7 @@ namespace MediaBrowser.Common.Implementations.Updates
|
|||||||
File.Copy(source, Path.Combine(Path.GetTempPath(), "SharpCompress.dll"), true);
|
File.Copy(source, Path.Combine(Path.GetTempPath(), "SharpCompress.dll"), true);
|
||||||
|
|
||||||
logger.Info("Starting updater process.");
|
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.ProgramDataPath));
|
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
|
// That's it. The installer will do the work once we exit
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user