Mono 5.8 is the minimum supported runtime

#3181 fix. Can get away without using RuntimeInformation and didn't
consider public trackers without a password
This commit is contained in:
flightlevel
2018-06-05 21:47:13 +10:00
parent 6d8239caab
commit 4b599f391c
3 changed files with 6 additions and 15 deletions

View File

@@ -153,9 +153,9 @@ namespace Jackett.Services
logger.Error(notice);
}
if (monoVersionO.Major < 5 || (monoVersionO.Major == 5 && monoVersionO.Minor < 4))
if (monoVersionO.Major < 5 || (monoVersionO.Major == 5 && monoVersionO.Minor < 8))
{
string notice = "Mono version 5.4 is the minimum required. Please update to the latest version from http://www.mono-project.com/download/";
string notice = "A minimum Mono version of 5.8 is required. Please update to the latest version from http://www.mono-project.com/download/";
_notices.Add(notice);
logger.Error(notice);
}