move version checking into a single method to unify updater logic across the app

This commit is contained in:
GreemDev 2025-06-03 03:09:50 -05:00
parent d0c055ccb8
commit 787a14ed2b
4 changed files with 19 additions and 11 deletions

View file

@ -18,7 +18,7 @@ namespace Ryujinx.Ava.Systems
{
private static GitHubReleaseChannels.Channel? _currentGitHubReleaseChannel;
public static async Task<Optional<(Version Current, Version Incoming)>> CheckGitHubVersionAsync(bool showVersionUpToDate = false)
private static async Task<Optional<(Version Current, Version Incoming)>> CheckGitHubVersionAsync(bool showVersionUpToDate = false)
{
if (!Version.TryParse(Program.Version, out Version currentVersion))
{