mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix target reference in updater
This commit is contained in:
parent
6ebab4a965
commit
889bd32e9e
@ -24,7 +24,7 @@ namespace MediaBrowser.Common.Implementations.Updates
|
|||||||
var target = Path.Combine(Path.GetTempPath(), UpdaterExe);
|
var target = Path.Combine(Path.GetTempPath(), UpdaterExe);
|
||||||
var product = app == MBApplication.MBTheater ? "mbt" : "server";
|
var product = app == MBApplication.MBTheater ? "mbt" : "server";
|
||||||
File.Copy(source, target, true);
|
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
|
// That's it. The installer will do the work once we exit
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user