mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-25 05:50:22 +00:00
Try to fix updates failing
This commit is contained in:
parent
48af63444c
commit
132f312484
3 changed files with 4 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue