Skip to content

Commit f9349a6

Browse files
committed
fix condition of version compare
1 parent a1a45a4 commit f9349a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ internal List<Result> RequestUpdate(string search)
164164
from existingPlugin in Context.API.GetAllPlugins()
165165
join pluginFromManifest in pluginsManifest.UserPlugins
166166
on existingPlugin.Metadata.ID equals pluginFromManifest.ID
167-
where existingPlugin.Metadata.Version.CompareTo(pluginFromManifest.Version) > 0
167+
where existingPlugin.Metadata.Version.CompareTo(pluginFromManifest.Version) < 0 // if current version precedes manifest version
168168
select
169169
new
170170
{

0 commit comments

Comments
 (0)