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 4fcc12d commit 24b87aaCopy full SHA for 24b87aa
Flow.Launcher.Core/Plugin/PluginManager.cs
@@ -550,8 +550,9 @@ private static string GetContainingFolderPathAfterUnzip(string unzippedParentFol
550
private static bool SameOrLesserPluginVersionExists(string metadataPath)
551
{
552
var newMetadata = JsonSerializer.Deserialize<PluginMetadata>(File.ReadAllText(metadataPath));
553
+ var newVersion = new Version(newMetadata.Version);
554
return AllPlugins.Any(x => x.Metadata.ID == newMetadata.ID
- && newMetadata.Version.CompareTo(x.Metadata.Version) <= 0);
555
+ && newVersion <= (new Version(x.Metadata.Version)));
556
}
557
558
#region Public functions
0 commit comments