Drop the update check - Steam updates the starter

The daily GitHub check, the top-bar button, the stable/staging channel and
"check now" go, with their settings and texts.
This commit is contained in:
maj00r
2026-10-04 18:46:38 +02:00
parent 6cedf8b6f6
commit 52ad490fb7
18 changed files with 0 additions and 775 deletions

View File

@@ -1,28 +0,0 @@
using System.Threading;
using System.Threading.Tasks;
using StarterNG.Domain.Settings;
namespace StarterNG.Application.Abstractions;
/// <summary>
/// A published build of the starter: its tag, the page it is downloaded from and
/// the commit it was built from - the only way to tell rolling builds apart.
/// </summary>
public sealed record ReleaseInfo(string Tag, string PageUrl, string? Commit = null);
/// <summary>
/// What asking for the newest release came back with. No answer - offline, rate
/// limited, timed out - is kept apart from an answer of "nothing released", so a
/// failed check is not remembered as a done one.
/// </summary>
public sealed record ReleaseLookup(bool Answered, ReleaseInfo? Release)
{
public static ReleaseLookup NoAnswer { get; } = new(false, null);
public static ReleaseLookup Found(ReleaseInfo? release) => new(true, release);
}
public interface IReleaseFeed
{
Task<ReleaseLookup> LatestAsync(UpdateChannel channel, CancellationToken cancellationToken = default);
}