mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
fix: correctly handle plugins with invalid Name,InternalName,AssemblyVersion
This commit is contained in:
parent
f1dfaa92c9
commit
c1f10b21b3
2 changed files with 28 additions and 3 deletions
|
|
@ -2862,8 +2862,8 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
return true;
|
||||
|
||||
return hasSearchString && !(
|
||||
manifest.Name.ToLowerInvariant().Contains(searchString) ||
|
||||
manifest.InternalName.ToLowerInvariant().Contains(searchString) ||
|
||||
(!manifest.Name.IsNullOrEmpty() && manifest.Name.ToLowerInvariant().Contains(searchString)) ||
|
||||
(!manifest.InternalName.IsNullOrEmpty() && manifest.InternalName.ToLowerInvariant().Contains(searchString)) ||
|
||||
(!manifest.Author.IsNullOrEmpty() && manifest.Author.Equals(this.searchText, StringComparison.InvariantCultureIgnoreCase)) ||
|
||||
(!manifest.Punchline.IsNullOrEmpty() && manifest.Punchline.ToLowerInvariant().Contains(searchString)) ||
|
||||
(manifest.Tags != null && manifest.Tags.Any(tag => tag.ToLowerInvariant().Contains(searchString))));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue