.NET 4.6.1 or Mono 5.4 is now the minimum supported runtime

This commit is contained in:
flightlevel
2018-06-03 21:27:47 +10:00
parent 5ad2c7a371
commit a60c1fca36
2 changed files with 9 additions and 2 deletions

View File

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