public override void Initialize()
        {
#if DEBUG
            InitLogging();
            if (Globals.IsWindows())
            {
                ConsoleAllocator.ShowConsoleWindow();
            }
#endif

            AvaloniaXamlLoader.Load(this);
        }
Esempio n. 2
0
        public static int Main(string[] args)
        {
            if (args.Length != 0)
            {
                ConsoleAllocator.ShowConsoleWindow();
            }

            // run windowed
            App app = new App();

            app.InitializeComponent();
            app.Run();

            return(0);
        }