mirror of
https://github.com/argonlefou/TSR_Loader.git
synced 2024-11-28 00:10:49 +01:00
35 lines
915 B
C#
35 lines
915 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
|
|
namespace Transformers2_Launcher
|
|
{
|
|
public static class Program
|
|
{
|
|
/// <summary>
|
|
/// Point d'entrée principal de l'application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main(string[] args)
|
|
{
|
|
bool bEnableLogs = false;
|
|
if (args.Length > 0)
|
|
{
|
|
for (int i = 0; i < args.Length; i++)
|
|
{
|
|
if (args[i].ToLower().Equals("-v") || args[i].ToLower().Equals("--verbose"))
|
|
{
|
|
bEnableLogs = true;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
Transformers2_Launcher Launcher = new Transformers2_Launcher(bEnableLogs);
|
|
Launcher.RunGame();
|
|
//Launcher.Run_Game_Debug();
|
|
Application.Exit();
|
|
}
|
|
}
|
|
}
|