Fixed: Update from version in logs

[common]
pull/7105/head
Robin Dadswell 3 years ago committed by Qstick
parent 85dd5f5754
commit bc3e3714b9

@ -1,6 +1,8 @@
using System; using System;
using System.IO; using System.IO;
using NLog; using NLog;
using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Extensions;
namespace NzbDrone.Update.UpdateEngine namespace NzbDrone.Update.UpdateEngine
{ {
@ -22,7 +24,7 @@ namespace NzbDrone.Update.UpdateEngine
{ {
try try
{ {
var targetExecutable = Path.Combine(targetFolder, "Radarr.exe"); var targetExecutable = Path.Combine(targetFolder, BuildInfo.AppName.ProcessNameToExe());
if (File.Exists(targetExecutable)) if (File.Exists(targetExecutable))
{ {

Loading…
Cancel
Save