fix: correct < plugin dependency implementation (#6420)

was wrongly implemented using >=
This commit is contained in:
jackstar12
2024-11-22 10:17:16 +01:00
committed by GitHub
parent 843c813f86
commit c6fc0302d2

View File

@@ -505,7 +505,7 @@ namespace BTCPayServer.Plugins
case { } xx when xx.StartsWith(">"):
return installed[plugin] > parsedV;
case { } xx when xx.StartsWith("<"):
return installed[plugin] >= parsedV;
return installed[plugin] < parsedV;
case { } xx when xx.StartsWith("^"):
return installed[plugin] >= parsedV && installed[plugin].Major == parsedV.Major;
case { } xx when xx.StartsWith("~"):