mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Remove manifest API filter in installer
The API is already checked in `PluginManager.IsManifestEligible`, so a plugin not matching it doesn't even get here.
This commit is contained in:
parent
191aa8d696
commit
d1fbee2829
1 changed files with 1 additions and 10 deletions
|
|
@ -3782,16 +3782,7 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
|
||||
private bool IsManifestFiltered(IPluginManifest manifest)
|
||||
{
|
||||
var hasSearchString = !string.IsNullOrWhiteSpace(this.searchText);
|
||||
var oldApi = (manifest.TestingDalamudApiLevel == null
|
||||
|| manifest.TestingDalamudApiLevel < PluginManager.DalamudApiLevel)
|
||||
&& manifest.DalamudApiLevel < PluginManager.DalamudApiLevel;
|
||||
var installed = this.IsManifestInstalled(manifest).IsInstalled;
|
||||
|
||||
if (oldApi && !hasSearchString && !installed)
|
||||
return true;
|
||||
|
||||
if (!hasSearchString)
|
||||
if (string.IsNullOrWhiteSpace(this.searchText))
|
||||
return false;
|
||||
|
||||
return this.GetManifestSearchScore(manifest) < 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue