fix
All checks were successful
CI / build-test (push) Successful in 33s
Release / pack-and-publish (release) Successful in 43s

This commit is contained in:
FrigaT
2025-12-12 09:27:51 +03:00
parent 72b0d60f3a
commit dea6be8094
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ public static class ReleaseUpdaterFacade
/// <summary>
/// Получает список доступных версий из Gitea.
/// </summary>
public static async Task<IReadOnlyList<string>> GetVersionsAsync(string apiUrl, string? token = null)
public static async Task<IReadOnlyList<string>> GetVersionsAsync(Uri apiUrl, string? token = null)
{
var provider = new ReleaseProvider();
var releases = await provider.GetReleasesAsync(apiUrl, token);

View File

@@ -21,7 +21,7 @@ internal class Program
Console.WriteLine(SemVerService.Compare("v0.1.2", ReleaseUpdaterFacade.GetCurrentVersion()));
await ReleaseUpdaterFacade.UpdateAsync(
apiUrl: url,
apiUrl: new Uri(url),
token: APIKey,
installPath: installPath,
appExeName: appExe,