From 5785623b5333b90ee40dfd6e43a6fb51d58c246d Mon Sep 17 00:00:00 2001 From: Hendrik Mennen Date: Fri, 8 Nov 2024 17:22:42 -0500 Subject: [PATCH] . --- src/OneWare.Essentials/PackageManager/PackageVersion.cs | 2 +- src/OneWare.PackageManager/Models/PluginPackageModel.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OneWare.Essentials/PackageManager/PackageVersion.cs b/src/OneWare.Essentials/PackageManager/PackageVersion.cs index ddb1b032..c115c757 100644 --- a/src/OneWare.Essentials/PackageManager/PackageVersion.cs +++ b/src/OneWare.Essentials/PackageManager/PackageVersion.cs @@ -6,5 +6,5 @@ public class PackageVersion public PackageTarget[]? Targets { get; init; } - public string? DepsUrl { get; init; } + public string? CompatibilityUrl { get; init; } } \ No newline at end of file diff --git a/src/OneWare.PackageManager/Models/PluginPackageModel.cs b/src/OneWare.PackageManager/Models/PluginPackageModel.cs index bd1aa4ab..5d7ff628 100644 --- a/src/OneWare.PackageManager/Models/PluginPackageModel.cs +++ b/src/OneWare.PackageManager/Models/PluginPackageModel.cs @@ -81,9 +81,9 @@ protected override void Uninstall() public override async Task 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);