First pass at the auto updater, inital tests on windows seem good!
This commit is contained in:
tidusjar 2017-08-06 22:40:08 +01:00
parent d59f940b10
commit 1647717915
4 changed files with 36 additions and 16 deletions

View file

@ -33,8 +33,8 @@ namespace Ombi.Updater
var start = new ProcessStartInfo
{
UseShellExecute = false,
CreateNoWindow = true,
FileName = Path.Combine(options.ApplicationPath,"Ombi.exe")
FileName = Path.Combine(options.ApplicationPath,"Ombi.exe"),
WorkingDirectory = options.ApplicationPath
};
using (var proc = new Process { StartInfo = start })
{