core: fix .net core 5.0 warnings. resolves #10433 (#10485)

This commit is contained in:
Diego Heras
2020-12-12 21:38:33 +01:00
committed by GitHub
parent eaa4126da5
commit 13baa27656
11 changed files with 29 additions and 52 deletions

View File

@@ -163,7 +163,7 @@ namespace Jackett.Server.Controllers
{
try
{
var consoleExePath = System.Reflection.Assembly.GetExecutingAssembly().CodeBase.Replace(".dll", ".exe");
var consoleExePath = EnvironmentUtil.JackettExecutablePath().Replace(".dll", ".exe");
processService.StartProcessAndLog(consoleExePath, "--ReserveUrls", true);
}
catch