mirror of
https://github.com/Jackett/Jackett
synced 2025-02-24 23:22:46 +00:00
Mono 5.8 or greater is now required to start Jackett
This commit is contained in:
parent
a217381668
commit
f2f602dcc5
1 changed files with 1 additions and 12 deletions
|
@ -143,23 +143,12 @@ namespace Jackett.Services
|
|||
|
||||
var monoVersionO = new Version(monoVersion.Split(' ')[0]);
|
||||
|
||||
if (monoVersionO.Major < 4)
|
||||
{
|
||||
logger.Error("Your mono version is to old (mono 3 is no longer supported). Please update to the latest version from http://www.mono-project.com/download/");
|
||||
Engine.Exit(2);
|
||||
}
|
||||
else if (monoVersionO.Major == 4 && monoVersionO.Minor == 2)
|
||||
{
|
||||
var notice = "mono version 4.2.* is known to cause problems with Jackett. If you experience any problems please try updating to the latest mono version from http://www.mono-project.com/download/ first.";
|
||||
_notices.Add(notice);
|
||||
logger.Error(notice);
|
||||
}
|
||||
|
||||
if (monoVersionO.Major < 5 || (monoVersionO.Major == 5 && monoVersionO.Minor < 8))
|
||||
{
|
||||
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);
|
||||
Engine.Exit(1);
|
||||
}
|
||||
|
||||
try
|
||||
|
|
Loading…
Reference in a new issue