mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix condition of version compare
This commit is contained in:
parent
a1a45a4989
commit
f9349a64e9
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.CompareTo(pluginFromManifest.Version) > 0
|
||||
where existingPlugin.Metadata.Version.CompareTo(pluginFromManifest.Version) < 0 // if current version precedes manifest version
|
||||
select
|
||||
new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue