Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

Commit

Permalink
PATCH v3.1.6 (Fixed ValorantCC not opening when Riot client is not ru…
Browse files Browse the repository at this point in the history
…nning.)
  • Loading branch information
weedeej committed Mar 7, 2022
1 parent cc9f1d3 commit c2c260b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ValorantCC/ValorantCC.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<AssemblyVersion></AssemblyVersion>
<FileVersion></FileVersion>
<Version>3.1.5</Version>
<Version>3.1.6</Version>
<SignAssembly>true</SignAssembly>
</PropertyGroup>

Expand Down
1 change: 1 addition & 0 deletions ValorantCC/src/BackgroundAuth.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public async void LoopCheck()

public async Task<bool> LoginFlagExists()
{
if (_lockfileData == null) return false;
RestClient wsClient = new RestClient(new RestClientOptions() { RemoteCertificateValidationCallback = (sender, certificate, chain, sslPolicyErrors) => true });
wsClient.Authenticator = new RestSharp.Authenticators.HttpBasicAuthenticator("riot",_lockfileData.Key);
RestRequest entitlementsReq = new RestRequest($"{_lockfileData.Protocol}://127.0.0.1:{_lockfileData.Port}/entitlements/v1/token");
Expand Down

0 comments on commit c2c260b

Please sign in to comment.