mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Added Valid check to out of date mod Validation
This commit is contained in:
parent
b7c5d591fc
commit
d6c72d225e
6 changed files with 54 additions and 6 deletions
|
|
@ -344,7 +344,7 @@ namespace ServerManagerTool.Lib
|
|||
var modsRootFolder = Path.Combine(this.ProfileSnapshot.InstallDirectory, Config.Default.ServerModsRelativePath);
|
||||
var modDetails = ModDetailList.GetModDetails(modIdList, modsRootFolder, null, response);
|
||||
|
||||
outOfdateModCount = modDetails.Count(m => !m.UpToDate);
|
||||
outOfdateModCount = modDetails.Count(m => m.IsValid && !m.UpToDate);
|
||||
}
|
||||
|
||||
if (outOfdateModCount > 0 && this.OutOfDateModCount != outOfdateModCount && !string.IsNullOrWhiteSpace(Config.Default.Alert_ModUpdateDetected))
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
<entry>
|
||||
<id>urn:uuid:3E33DCB2-ECFE-4489-B1A4-56F5D386F9DC</id>
|
||||
<title>1.1.413 (1.1.413.15)</title>
|
||||
<summary>1.1.413.15</summary>
|
||||
<title>1.1.413 (1.1.413.16)</title>
|
||||
<summary>1.1.413.16</summary>
|
||||
<link href="" />
|
||||
<updated>2021-12-20T00:00:00Z</updated>
|
||||
<content type="xhtml">
|
||||
|
|
@ -40,6 +40,7 @@
|
|||
<li>Profile Sync - Added Discord Bot section to the list.</li>
|
||||
<li>Auto-Update process - have reworked parts of the process and the logging.</li>
|
||||
<li>Manual-Update process - have reworked parts of the logging.</li>
|
||||
<li>Out of Date Mod Check - Added Valid mod check, so will not include mod that are invalid.</li>
|
||||
<li>Made changes to the code to help improve performance.</li>
|
||||
<li>pt-BR Translation file updated.</li>
|
||||
<li>ru-RU Translation file updated.</li>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,29 @@
|
|||
<link href="http://arkservermanager.freeforums.net/" />
|
||||
<updated>2021-12-20T00:00:00Z</updated>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:D8C3D087-64DB-4FB8-829F-7FA665F77309</id>
|
||||
<title>1.1.413 (1.1.413.16)</title>
|
||||
<summary>1.1.413.16</summary>
|
||||
<link href="" />
|
||||
<updated>2021-12-20T00:00:00Z</updated>
|
||||
<content type="xhtml">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||
<p>
|
||||
<u style="font-size: .9em;">CHANGE</u>
|
||||
<br/>
|
||||
<ul>
|
||||
<li>Out of Date Mod Check - Added Valid mod check, so will not include mod that are invalid.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</content>
|
||||
<author>
|
||||
<name>bletch</name>
|
||||
<email>bletch1971@hotmail.com</email>
|
||||
</author>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:6E0126E3-4120-4F3A-9EF1-05762C2A5078</id>
|
||||
<title>1.1.413 (1.1.413.15)</title>
|
||||
|
|
|
|||
|
|
@ -351,7 +351,7 @@ namespace ServerManagerTool.Lib
|
|||
var modsRootFolder = Path.Combine(this.ProfileSnapshot.InstallDirectory, Config.Default.ServerModsRelativePath);
|
||||
var modDetails = ModDetailList.GetModDetails(modIdList, modsRootFolder, null, response);
|
||||
|
||||
outOfdateModCount = modDetails.Count(m => !m.UpToDate);
|
||||
outOfdateModCount = modDetails.Count(m => m.IsValid && !m.UpToDate);
|
||||
}
|
||||
|
||||
if (outOfdateModCount > 0 && this.OutOfDateModCount != outOfdateModCount && !string.IsNullOrWhiteSpace(Config.Default.Alert_ModUpdateDetected))
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
<entry>
|
||||
<id>urn:uuid:19B09A66-43F2-4D5F-AF33-5C77D7EA9A6B</id>
|
||||
<title>1.1.58 (1.1.58.15)</title>
|
||||
<summary>1.1.58.15</summary>
|
||||
<title>1.1.58 (1.1.58.16)</title>
|
||||
<summary>1.1.58.16</summary>
|
||||
<link href="" />
|
||||
<updated>2021-12-20T00:00:00Z</updated>
|
||||
<content type="xhtml">
|
||||
|
|
@ -40,6 +40,7 @@
|
|||
<li>Profile Sync - Added Discord Bot section to the list.</li>
|
||||
<li>Auto-Update process - have reworked parts of the process and the logging.</li>
|
||||
<li>Manual-Update process - have reworked parts of the logging.</li>
|
||||
<li>Out of Date Mod Check - Added Valid mod check, so will not include mod that are invalid.</li>
|
||||
<li>Made changes to the code to help improve performance.</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,29 @@
|
|||
<link href="http://servermanagers.freeforums.net/" />
|
||||
<updated>2021-12-20T00:00:00Z</updated>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:0C184A8F-803D-4AC6-B9CB-599810F9AD29</id>
|
||||
<title>1.1.58 (1.1.58.16)</title>
|
||||
<summary>1.1.58.16</summary>
|
||||
<link href="" />
|
||||
<updated>2021-12-20T00:00:00Z</updated>
|
||||
<content type="xhtml">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||
<p>
|
||||
<u style="font-size: .9em;">CHANGE</u>
|
||||
<br/>
|
||||
<ul>
|
||||
<li>Out of Date Mod Check - Added Valid mod check, so will not include mod that are invalid.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</content>
|
||||
<author>
|
||||
<name>bletch</name>
|
||||
<email>bletch1971@hotmail.com</email>
|
||||
</author>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:5FA48BA6-9154-4626-9B33-63F2D9079B2D</id>
|
||||
<title>1.1.58 (1.1.58.15)</title>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue