diff --git a/src/Jackett.Updater/Jackett.Updater.csproj b/src/Jackett.Updater/Jackett.Updater.csproj index 649764ba2..f56e4ff7b 100644 --- a/src/Jackett.Updater/Jackett.Updater.csproj +++ b/src/Jackett.Updater/Jackett.Updater.csproj @@ -62,6 +62,7 @@ True + diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index cdcc75e27..d23c563b3 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -9,6 +9,7 @@ using System.Reflection; using System.Text; using System.Threading; using System.Threading.Tasks; +using System.Web; /* // no supported by appveyor, disabeling for now #if __MonoCS__ @@ -223,7 +224,7 @@ namespace Jackett.Updater private string GetUpdateLocation() { var location = new Uri(Assembly.GetEntryAssembly().GetName().CodeBase); - return new FileInfo(location.AbsolutePath).DirectoryName; + return new FileInfo(HttpUtility.UrlDecode(location.AbsolutePath)).DirectoryName; } } }