File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -248,8 +248,9 @@ private Check CheckExcludes(Check check)
248248 return check ;
249249 break ;
250250 case "installed_version" :
251- if ( SystemInfo . Application . Version . IndexOf ( c . Value , StringComparison . OrdinalIgnoreCase ) > - 1 )
252- return check ;
251+ //if (SystemInfo.Application.Version.IndexOf(c.Value, StringComparison.OrdinalIgnoreCase) > -1)
252+ if ( "U2024.03.20-0022" . IndexOf ( c . Value , StringComparison . OrdinalIgnoreCase ) > - 1 )
253+ return check ;
253254 break ;
254255 case "system" :
255256 var os = SystemInfo . OperatingSystem ;
@@ -378,7 +379,9 @@ private string ReplaceParameter(string field)
378379 : UpdateManager . ChannelName ;
379380 break ;
380381 case "new_version" :
381- replacement = UpdateManager . LastUpdate == null || UpdateManager . ChannelName == ""
382+ replacement = UpdateManager . LastUpdate == null
383+ || UpdateManager . ChannelName == ""
384+ || UpdateManager . LastUpdate . Version == SystemInfo . Application . Version
382385 ? "none"
383386 : UpdateManager . LastUpdate . Version ;
384387 break ;
You can’t perform that action at this time.
0 commit comments