mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 11:48:26 -07:00
Fixed update client path issue
This commit is contained in:
parent
6369d4f817
commit
fbf7d20c5d
6 changed files with 17 additions and 15 deletions
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using NLog;
|
||||
using NzbDrone.Common;
|
||||
|
@ -52,7 +53,8 @@ namespace NzbDrone.Update
|
|||
VerfityArguments(args);
|
||||
int processId = ParseProcessId(args);
|
||||
|
||||
string appPath = _processProvider.GetProcessById(processId).StartPath;
|
||||
FileInfo exeFileInfo = new FileInfo(_processProvider.GetProcessById(processId).StartPath);
|
||||
string appPath = exeFileInfo.Directory.FullName;
|
||||
|
||||
logger.Info("Starting update process");
|
||||
_updateProvider.Start(appPath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue