Fixed version retrieval for yt-dlp

This commit is contained in:
Toastie 2025-02-19 11:36:45 +13:00
parent 63ba8d30ac
commit 0428264c25
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7
2 changed files with 2 additions and 2 deletions
EllieHub
EllieHub.csproj
Features/AppConfig/Services

View file

@ -20,7 +20,7 @@
<DebugType>embedded</DebugType>
<!--Version-->
<VersionPrefix>1.0.5.0</VersionPrefix>
<VersionPrefix>1.0.6.0</VersionPrefix>
<!--Avalonia Settings-->
<ApplicationManifest>app.manifest</ApplicationManifest>

View file

@ -85,7 +85,7 @@ public sealed class YtdlpResolver : IYtdlpResolver
/// <inheritdoc />
public async ValueTask<string> GetLatestVersionAsync(CancellationToken cToken = default)
{
var http = _httpClientFactory.CreateClient(AppConstants.ToastielabClient);
var http = _httpClientFactory.CreateClient(AppConstants.NoRedirectClient);
var response = await http.GetAsync("https://github.com/yt-dlp/yt-dlp/releases/latest", cToken);