Beispiel #1
0
        public static void RunParsed(LaunchOptions options)
        {
            EnviromentManager.Init();

            EnviromentManager.LaunchOptions = options;

            if (!options.Silent)
            {
                var app = new App();
                app.InitializeComponent();
                app.Run();
            }
        }
Beispiel #2
0
        public static void RunParsed()
        {
            //CrashReporter
#if !DEBUG
            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(UnhandledExceptionReport);
#endif

            EnviromentManager.Init();

            var app = new App();
            app.InitializeComponent();
            app.Run();
        }