Skip to content

Commit

Permalink
Allowed support for Win7 so long as .NET Framework 4.8 is installed.
Browse files Browse the repository at this point in the history
  • Loading branch information
sirdoombox committed Mar 11, 2020
1 parent 6a2c7c8 commit f3779fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PostScriptumMortarCalculator/Services/UpdateService.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#if (!DEBUG)
using System.Reflection;
#endif
using System.Net;
using System.Threading.Tasks;
using Octokit;

Expand All @@ -17,6 +18,7 @@ public class UpdateService
public UpdateService()
{
m_client = new GitHubClient(new ProductHeaderValue("PostScriptumMortarCalculator"));
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls13;
}

public async Task<UpdateInfo> CheckForUpdate()
Expand Down

0 comments on commit f3779fc

Please sign in to comment.