Skip to content

Commit c94a2f4

Browse files
committed
Use string.CompareTo instead of equal to check for update
1 parent 5da8259 commit c94a2f4

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 != pluginFromManifest.Version
167+
where existingPlugin.Metadata.Version.CompareTo(pluginFromManifest.Version) > 0
168168
select
169169
new
170170
{

0 commit comments

Comments
 (0)