mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
19 lines
514 B
C#
19 lines
514 B
C#
using Aaru.Core;
|
|
using Avalonia;
|
|
using Consolonia;
|
|
|
|
namespace Aaru.Tui;
|
|
|
|
public static class Program
|
|
{
|
|
public static int Main(string[] args)
|
|
{
|
|
// There are too many places that depend on this being inited to be sure all are covered, so init it here.
|
|
PluginBase.Init();
|
|
|
|
return BuildAvaloniaApp().StartWithConsoleLifetime(args);
|
|
}
|
|
|
|
public static AppBuilder BuildAvaloniaApp() =>
|
|
AppBuilder.Configure<App>().UseConsolonia().UseAutoDetectedConsole().LogToException();
|
|
} |