From 4a366adad9802a63b43188477038ba1b41368bd8 Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Tue, 11 Jun 2024 19:06:35 +0100 Subject: [PATCH] Fix startup sequence --- Bloxstrap/App.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bloxstrap/App.xaml.cs b/Bloxstrap/App.xaml.cs index 7e443a8..890bd28 100644 --- a/Bloxstrap/App.xaml.cs +++ b/Bloxstrap/App.xaml.cs @@ -126,6 +126,8 @@ namespace Bloxstrap // see https://aka.ms/applicationconfiguration. ApplicationConfiguration.Initialize(); + LaunchSettings = new LaunchSettings(e.Args); + using (var checker = new InstallChecker()) { checker.Check(); @@ -142,8 +144,6 @@ namespace Bloxstrap FastFlags.Load(); } - LaunchSettings = new LaunchSettings(e.Args); - HttpClient.Timeout = TimeSpan.FromSeconds(30); HttpClient.DefaultRequestHeaders.Add("User-Agent", ProjectRepository);