Skip to content

Commit

Permalink
don't require min/max version
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Jul 23, 2024
1 parent 6734b8d commit 0e62051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OneWare.Core/Services/PluginService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ public void RemovePlugin(IPlugin plugin)
if (packageManifest?.Dependencies is { } deps)
foreach (var dep in deps)
{
var minVersion = Version.Parse(dep.MinVersion ?? "1000");
var maxVersion = Version.Parse(dep.MaxVersion ?? "0");
var minVersion = Version.Parse(dep.MinVersion ?? "0");
var maxVersion = Version.Parse(dep.MaxVersion ?? "10000");

var coreDep = AppDomain.CurrentDomain.GetAssemblies()
.SingleOrDefault(x => x.GetName().Name == dep.Name)?.GetName();
Expand Down

0 comments on commit 0e62051

Please sign in to comment.