Skip to content

Commit

Permalink
Update AutoUpdater.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
dran1x authored Mar 8, 2024
1 parent 0f74c93 commit 7bd0a51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AutoUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private async Task<string> 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]);

Expand Down Expand Up @@ -257,4 +257,4 @@ private static List<CCSPlayerController> GetCurrentPlayers()
[GeneratedRegex(@"PatchVersion=(?<version>[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)", RegexOptions.ExplicitCapture, 1000)]
private static partial Regex PatchVersionRegex();
}
}
}

0 comments on commit 7bd0a51

Please sign in to comment.