1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-20 18:02:44 +01:00

Fixed: Update from version in logs

[common]
This commit is contained in:
Robin Dadswell 2022-03-02 15:28:32 +00:00 committed by Qstick
parent 85dd5f5754
commit bc3e3714b9

View File

@ -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, "Radarr.exe");
var targetExecutable = Path.Combine(targetFolder, BuildInfo.AppName.ProcessNameToExe());
if (File.Exists(targetExecutable))
{