Files
Warhound/WarhoundConsole/Program.cs
2025-12-07 04:30:11 +09:00

37 lines
704 B
C#

namespace WarhoundConsole
{
public class Program
{
public static int Main(string[] args)
{
try
{
MainInternal(args);
}
catch (Exception e)
{
Console.WriteLine(e);
return -1;
}
return 0;
}
private static void MainInternal(string[] args)
{
Singleton.I.Initialize(new());
bool exitRequested = Singleton.I.ExitRequested;
while (!exitRequested)
{
exitRequested = Singleton.I.ExitRequested;
}
// Graceful shutdown
}
}
}