mirror of
https://github.com/tgeorgiadis/quiver-launcher.git
synced 2026-12-06 03:38:02 -05:00
16 lines
512 B
C#
16 lines
512 B
C#
namespace QuiverLauncher.Core.Services
|
|
{
|
|
public sealed class GitHubReleaseSource : IReleaseSource
|
|
{
|
|
public string Id => RepositorySourceIds.GitHub;
|
|
public string DisplayName => "GitHub";
|
|
|
|
public Task<GitHubReleaseFetchResult> FetchReleasesAsync(
|
|
HttpClient httpClient,
|
|
string repository,
|
|
string? token = null,
|
|
string? etag = null) =>
|
|
GitHubReleaseService.FetchReleasesAsync(httpClient, repository, token, etag);
|
|
}
|
|
}
|