From 7bd0a516ac2c5fa255a299eb933a6031e6c02c89 Mon Sep 17 00:00:00 2001 From: DRANIX <48390633+dran1x@users.noreply.github.com> Date: Thu, 7 Mar 2024 19:39:55 -0800 Subject: [PATCH] Update AutoUpdater.cs --- AutoUpdater.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AutoUpdater.cs b/AutoUpdater.cs index 334c5ff..899968e 100644 --- a/AutoUpdater.cs +++ b/AutoUpdater.cs @@ -209,7 +209,7 @@ private async Task GetSteamInfPatchVersion() string steamInfContents = await File.ReadAllTextAsync(steamInfPath); Match match = PatchVersionRegex().Match(steamInfContents); - if (match.Success) return "match.Groups[1].Value"; + if (match.Success) return match.Groups[1].Value; Logger.LogError(Localizer["AutoUpdater.Console.ErrorPatchVersionKeyNotFound", steamInfPath]); @@ -257,4 +257,4 @@ private static List GetCurrentPlayers() [GeneratedRegex(@"PatchVersion=(?[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)", RegexOptions.ExplicitCapture, 1000)] private static partial Regex PatchVersionRegex(); } -} \ No newline at end of file +}