Delete unused sample files

This commit is contained in:
BruceChen 2022-10-05 20:41:37 +08:00
parent 48fcdce4ad
commit 7f2ede8ad2
10 changed files with 45 additions and 149 deletions

View file

@ -59,8 +59,11 @@ namespace MinecraftClient
/// </summary>
static void Main(string[] args)
{
new Thread(() =>
Task.Run(() =>
{
// "ToLower" require "CultureInfo" to be initialized on first run, which can take a lot of time.
_ = "a".ToLower();
//Take advantage of Windows 10 / Mac / Linux UTF-8 console
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
@ -76,10 +79,7 @@ namespace MinecraftClient
// Fix issue #2119
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
// "ToLower" require "CultureInfo" to be initialized on first run, which can take a lot of time.
_ = "a".ToLower();
}).Start();
});
//Setup ConsoleIO
ConsoleIO.LogPrefix = "§8[MCC] ";