mirror of
https://github.com/Readarr/Readarr
synced 2025-12-31 20:52:35 +01:00
Fixed: Update from version in logs
Closes #1574 (cherry picked from commit bc3e3714b97dec19091e45324d9f2b550f1dbbd5)
This commit is contained in:
parent
b25f8449a2
commit
72a0e38b36
1 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,8 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using NLog;
|
||||
using NzbDrone.Common.EnvironmentInfo;
|
||||
using NzbDrone.Common.Extensions;
|
||||
|
||||
namespace NzbDrone.Update.UpdateEngine
|
||||
{
|
||||
|
|
@ -22,7 +24,7 @@ public string GetExistingVersion(string targetFolder)
|
|||
{
|
||||
try
|
||||
{
|
||||
var targetExecutable = Path.Combine(targetFolder, "Readarr.exe");
|
||||
var targetExecutable = Path.Combine(targetFolder, BuildInfo.AppName.ProcessNameToExe());
|
||||
|
||||
if (File.Exists(targetExecutable))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue