mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
When MOTD recommends an older CUETools version,
a newer CUETools version should ignore it.
This commit is contained in:
@@ -390,7 +390,7 @@ namespace JDP
|
||||
using (StreamReader sr = new StreamReader(MOTDTextPath, Encoding.UTF8))
|
||||
{
|
||||
string version = sr.ReadLine();
|
||||
if (version != MOTDVersion)
|
||||
if (string.Compare(version, MOTDVersion) > 0)
|
||||
{
|
||||
string motd = sr.ReadToEnd();
|
||||
_batchReport = new StringBuilder();
|
||||
@@ -606,7 +606,7 @@ namespace JDP
|
||||
{
|
||||
get
|
||||
{
|
||||
return "CUETools 2.1.4";
|
||||
return "CUETools 2.1.5";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -712,7 +712,7 @@ namespace JDP
|
||||
using (StreamReader sr = new StreamReader(MOTDTextPath, Encoding.UTF8))
|
||||
{
|
||||
string version = sr.ReadLine();
|
||||
if (version != MOTDVersion)
|
||||
if (string.Compare(version, MOTDVersion) > 0)
|
||||
{
|
||||
string motd = sr.ReadToEnd();
|
||||
_batchReport.Append(motd);
|
||||
|
||||
Reference in New Issue
Block a user