Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Nov 8, 2024
1 parent 2f40a4f commit 5785623
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/OneWare.Essentials/PackageManager/PackageVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ public class PackageVersion

public PackageTarget[]? Targets { get; init; }

public string? DepsUrl { get; init; }
public string? CompatibilityUrl { get; init; }
}
4 changes: 2 additions & 2 deletions src/OneWare.PackageManager/Models/PluginPackageModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ protected override void Uninstall()

public override async Task<CompatibilityReport> CheckCompatibilityAsync(PackageVersion version)
{
if (version.DepsUrl != null || Package.SourceUrl != null)
if (version.CompatibilityUrl != null || Package.SourceUrl != null)
{
var depsUrl = version.DepsUrl ?? $"{Package.SourceUrl}/{version.Version}/minimal-dependencies.txt";
var depsUrl = version.CompatibilityUrl ?? $"{Package.SourceUrl}/{version.Version}/compatibility.txt";

var deps = await HttpService.DownloadTextAsync(depsUrl);

Expand Down

0 comments on commit 5785623

Please sign in to comment.