mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Use string.CompareTo instead of equal to check for update
This commit is contained in:
parent
5da8259228
commit
c94a2f4c95
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ namespace Flow.Launcher.Plugin.PluginsManager
|
|||
from existingPlugin in Context.API.GetAllPlugins()
|
||||
join pluginFromManifest in pluginsManifest.UserPlugins
|
||||
on existingPlugin.Metadata.ID equals pluginFromManifest.ID
|
||||
where existingPlugin.Metadata.Version != pluginFromManifest.Version
|
||||
where existingPlugin.Metadata.Version.CompareTo(pluginFromManifest.Version) > 0
|
||||
select
|
||||
new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue