We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2edc345 commit ea179e5Copy full SHA for ea179e5
Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs
@@ -555,8 +555,7 @@ private bool SameOrLesserPluginVersionExists(string metadataPath)
555
var newMetadata = JsonSerializer.Deserialize<PluginMetadata>(File.ReadAllText(metadataPath));
556
return Context.API.GetAllPlugins()
557
.Any(x => x.Metadata.ID == newMetadata.ID
558
- && (x.Metadata.Version == newMetadata.Version
559
- || newMetadata.Version.CompareTo(x.Metadata.Version) < 0));
+ && newMetadata.Version.CompareTo(x.Metadata.Version) <= 0);
560
}
561
562
0 commit comments