mirror of
https://github.com/project-redbud/FunGame-Desktop.git
synced 2025-04-20 20:19:34 +08:00
add -debug launcher option
This commit is contained in:
parent
72f81cf5f9
commit
2fbb511ea7
@ -6,8 +6,17 @@ namespace Milimoe.FunGame.Desktop.UI
|
|||||||
/// The main entry point for the application.
|
/// The main entry point for the application.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[STAThread]
|
[STAThread]
|
||||||
static void Main()
|
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();
|
ApplicationConfiguration.Initialize();
|
||||||
Application.Run(new Main());
|
Application.Run(new Main());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user