Beispiel #1
0
        private static void ConfigureApp(IServiceProvider serviceProvider)
        {
            AppInitialise.LoadUserData(serviceProvider, AppDomain.CurrentDomain.BaseDirectory);

            var sm = serviceProvider.GetService <ServiceManager>();

            Task.Run(() => AppInitialise.Start(sm));
        }
Beispiel #2
0
        private void ConfigureApp(IServiceProvider serviceProvider)
        {
            AppInitialise.LoadUserData(serviceProvider, _env.ContentRootPath);

            var sm = serviceProvider.GetService <ServiceManager>();

            Task.Run(() => AppInitialise.Start(sm));
            Task.Run(ElectronBootstrap.InitAsync);
        }