mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-22 08:29:18 +01:00
Remove obsolete ServicePointManager TLS version override
This commit is contained in:
parent
89dfd72e24
commit
cf1d8a81c6
1 changed files with 4 additions and 7 deletions
|
|
@ -178,20 +178,17 @@ public sealed class EntryPoint
|
||||||
throw new Exception("Working directory was invalid");
|
throw new Exception("Working directory was invalid");
|
||||||
|
|
||||||
Reloaded.Hooks.Tools.Utilities.FasmBasePath = new DirectoryInfo(info.WorkingDirectory);
|
Reloaded.Hooks.Tools.Utilities.FasmBasePath = new DirectoryInfo(info.WorkingDirectory);
|
||||||
|
|
||||||
// Apply common fixes for culture issues
|
// Apply common fixes for culture issues
|
||||||
CultureFixes.Apply();
|
CultureFixes.Apply();
|
||||||
|
|
||||||
// This is due to GitHub not supporting TLS 1.0, so we enable all TLS versions globally
|
|
||||||
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls;
|
|
||||||
|
|
||||||
if (!Util.IsWine())
|
if (!Util.IsWine())
|
||||||
InitSymbolHandler(info);
|
InitSymbolHandler(info);
|
||||||
|
|
||||||
var dalamud = new Dalamud(info, fs, configuration, mainThreadContinueEvent);
|
var dalamud = new Dalamud(info, fs, configuration, mainThreadContinueEvent);
|
||||||
Log.Information("This is Dalamud - Core: {GitHash}, CS: {CsGitHash} [{CsVersion}]",
|
Log.Information("This is Dalamud - Core: {GitHash}, CS: {CsGitHash} [{CsVersion}]",
|
||||||
Util.GetScmVersion(),
|
Util.GetScmVersion(),
|
||||||
Util.GetGitHashClientStructs(),
|
Util.GetGitHashClientStructs(),
|
||||||
FFXIVClientStructs.ThisAssembly.Git.Commits);
|
FFXIVClientStructs.ThisAssembly.Git.Commits);
|
||||||
|
|
||||||
dalamud.WaitForUnload();
|
dalamud.WaitForUnload();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue