mirror of
https://github.com/project-redbud/FunGame-Desktop.git
synced 2025-04-23 13:39:36 +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.
|
||||
/// </summary>
|
||||
[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();
|
||||
Application.Run(new Main());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user