mirror of
https://github.com/TheShadowEevee/Sharpii-NetCore.git
synced 2025-01-11 14:58:51 -06:00
Additional 404 check, remove unneeded "using"s
This commit is contained in:
parent
dd551ed67f
commit
369b22f63a
2 changed files with 17 additions and 3 deletions
|
@ -320,6 +320,23 @@ namespace Sharpii
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (ex.Message == "The remote server returned an error: (404) Not Found.")
|
||||||
|
{
|
||||||
|
Console.WriteLine("");
|
||||||
|
Console.WriteLine("The remote server returned a 404 error. Check your Title ID.");
|
||||||
|
Console.WriteLine("");
|
||||||
|
Console.WriteLine("Error: SHARPII_NET_CORE_NUSD_REMOTE_404");
|
||||||
|
Console.WriteLine("");
|
||||||
|
if (OperatingSystem.Windows())
|
||||||
|
{
|
||||||
|
Environment.Exit(0x00003E9E);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Environment.Exit(0x00000020);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (ExceptionListRan == 0)
|
if (ExceptionListRan == 0)
|
||||||
{
|
{
|
||||||
Console.WriteLine("An unknown error occured, please try again");
|
Console.WriteLine("An unknown error occured, please try again");
|
||||||
|
|
|
@ -18,9 +18,6 @@
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Net;
|
|
||||||
using libWiiSharp;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace Sharpii
|
namespace Sharpii
|
||||||
|
|
Loading…
Reference in a new issue