private void OnApplicationStartup() { IpfsApiWrapper.StartDaemon(); SetupBootstrapServers(); RestServer a = new RestServer(); a.Start(); AutoUpdater.Launch(); MainWindow mainWindow = new MainWindow(); if (!FirstRunViewModel.WasCompleted()) { FirstRunView dialog = new FirstRunView(); if (dialog.ShowDialog() != true) { mainWindow = null; Shutdown(); } } mainWindow?.Show(); }
protected void OnAccountConfigued() { IpfsApiWrapper.StartDaemon(); AccountConfigued?.Invoke(this, EventArgs.Empty); }