Skip to content

Commit

Permalink
Enable TLS1.2 so Squirrel can call GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
hnrkndrssn committed Apr 18, 2019
1 parent 2161ab9 commit a3ae075
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Carnac/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.IO;
using System.Net;
using System.Reactive.Linq;
using System.Windows;
using Carnac.Logic;
Expand Down Expand Up @@ -35,6 +36,7 @@ public App()

protected override void OnStartup(StartupEventArgs e)
{
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;
// Check if there was instance before this. If there was-close the current one.
if (ProcessUtilities.ThisProcessIsAlreadyRunning())
{
Expand Down

0 comments on commit a3ae075

Please sign in to comment.