Skip to content

Commit

Permalink
Update Program.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
DartPower committed Jun 2, 2019
1 parent 4ce80f3 commit 2f0ed1c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@

namespace SharpMCL
{
static class Program
static class Program
{
static string assetIndex = "";
static string clientjar;

[STAThread]
static void Main(string[] args)
[STAThread]
static void Main(string[] args)
{
Marshal.PrelinkAll(typeof(Program));
Process currentProcess = Process.GetCurrentProcess();
currentProcess.PriorityClass = ProcessPriorityClass.High;
Console.BackgroundColor = ConsoleColor.Black;
Console.ForegroundColor = ConsoleColor.White;
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
try
{
Application.Run(new LauncherForm());
}
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
try
{
Application.Run(new LauncherForm());
}
catch (Exception ex)
{
try
Expand All @@ -40,7 +40,7 @@ static void Main(string[] args)
}
}

public static void start(string clientdir, string client, string user, string uuid, string session)
public static void start(string clientdir, string client, string user, string uuid, string session)
{
string nfolder = clientdir + @"versions\" + client + @"\natives";
Directory.CreateDirectory(nfolder);
Expand Down

0 comments on commit 2f0ed1c

Please sign in to comment.