mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix or condition
This commit is contained in:
parent
76efdfcff0
commit
2edc345892
1 changed files with 2 additions and 2 deletions
|
|
@ -555,8 +555,8 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
|||
var newMetadata = JsonSerializer.Deserialize<PluginMetadata>(File.ReadAllText(metadataPath));
|
||||
return Context.API.GetAllPlugins()
|
||||
.Any(x => x.Metadata.ID == newMetadata.ID
|
||||
&& (x.Metadata.Version == newMetadata.Version)
|
||||
|| newMetadata.Version.CompareTo(x.Metadata.Version) < 0);
|
||||
&& (x.Metadata.Version == newMetadata.Version
|
||||
|| newMetadata.Version.CompareTo(x.Metadata.Version) < 0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue