Try to fix updates failing
This commit is contained in:
parent
48af63444c
commit
132f312484
@ -66,7 +66,7 @@ namespace FirstPlugin
|
|||||||
uint unk = reader.ReadUInt32();
|
uint unk = reader.ReadUInt32();
|
||||||
reader.ReadUInt32(); //0
|
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))
|
using (reader.TemporarySeek(audioOffset, System.IO.SeekOrigin.Begin))
|
||||||
{
|
{
|
||||||
|
@ -4,6 +4,7 @@ using System.Collections.Generic;
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Octokit;
|
using Octokit;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
using System.Net;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using Toolbox.Library;
|
using Toolbox.Library;
|
||||||
@ -24,6 +25,7 @@ namespace Toolbox
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
|
||||||
var client = new GitHubClient(new ProductHeaderValue("ST_UpdateTool"));
|
var client = new GitHubClient(new ProductHeaderValue("ST_UpdateTool"));
|
||||||
GetReleases(client).Wait();
|
GetReleases(client).Wait();
|
||||||
GetCommits(client).Wait();
|
GetCommits(client).Wait();
|
||||||
|
@ -24,6 +24,7 @@ namespace Updater
|
|||||||
execDirectory = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
|
execDirectory = Path.GetDirectoryName(System.Reflection.Assembly.GetEntryAssembly().Location);
|
||||||
folderDir = execDirectory;
|
folderDir = execDirectory;
|
||||||
|
|
||||||
|
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
|
||||||
var client = new GitHubClient(new ProductHeaderValue("ST_UpdateTool"));
|
var client = new GitHubClient(new ProductHeaderValue("ST_UpdateTool"));
|
||||||
GetReleases(client).Wait();
|
GetReleases(client).Wait();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user