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
1 changed files with 3 additions and 1 deletions

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