mirror of
https://github.com/project-redbud/FunGame-Desktop.git
synced 2025-04-22 13:09:35 +08:00
24 lines
653 B
C#
24 lines
653 B
C#
namespace Milimoe.FunGame.Desktop.UI
|
|
{
|
|
internal static class Start
|
|
{
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main(params string[] args)
|
|
{
|
|
foreach (string option in args)
|
|
{
|
|
switch (option)
|
|
{
|
|
case "-debug":
|
|
Core.Library.Constant.FunGameInfo.FunGame_DebugMode = true;
|
|
break;
|
|
}
|
|
}
|
|
ApplicationConfiguration.Initialize();
|
|
Application.Run(new Main());
|
|
}
|
|
}
|
|
} |