1
0
mirror of synced 2024-11-27 17:00:50 +01:00

Try to fix updates failing

This commit is contained in:
KillzXGaming 2019-11-10 10:13:56 -05:00
parent 48af63444c
commit 132f312484
3 changed files with 4 additions and 1 deletions

View File

@ -66,7 +66,7 @@ namespace FirstPlugin
uint unk = reader.ReadUInt32();
reader.ReadUInt32(); //0
entry.Text = entry.HashID.ToString("X") + ".wav";
entry.Text = entry.HashID.ToString("X") + ".wem";
using (reader.TemporarySeek(audioOffset, System.IO.SeekOrigin.Begin))
{

View File

@ -4,6 +4,7 @@ using System.Collections.Generic;
using System.Threading.Tasks;
using Octokit;
using System.IO;
using System.Net;
using System.Diagnostics;
using System.Security.Cryptography;
using Toolbox.Library;
@ -24,6 +25,7 @@ namespace Toolbox
{
try
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
var client = new GitHubClient(new ProductHeaderValue("ST_UpdateTool"));
GetReleases(client).Wait();
GetCommits(client).Wait();

View File

@ -24,6 +24,7 @@ namespace Updater
execDirectory = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
folderDir = execDirectory;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
var client = new GitHubClient(new ProductHeaderValue("ST_UpdateTool"));
GetReleases(client).Wait();