mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Fix startup sequence
This commit is contained in:
parent
a234a58d9f
commit
4a366adad9
@ -126,6 +126,8 @@ namespace Bloxstrap
|
|||||||
// see https://aka.ms/applicationconfiguration.
|
// see https://aka.ms/applicationconfiguration.
|
||||||
ApplicationConfiguration.Initialize();
|
ApplicationConfiguration.Initialize();
|
||||||
|
|
||||||
|
LaunchSettings = new LaunchSettings(e.Args);
|
||||||
|
|
||||||
using (var checker = new InstallChecker())
|
using (var checker = new InstallChecker())
|
||||||
{
|
{
|
||||||
checker.Check();
|
checker.Check();
|
||||||
@ -142,8 +144,6 @@ namespace Bloxstrap
|
|||||||
FastFlags.Load();
|
FastFlags.Load();
|
||||||
}
|
}
|
||||||
|
|
||||||
LaunchSettings = new LaunchSettings(e.Args);
|
|
||||||
|
|
||||||
HttpClient.Timeout = TimeSpan.FromSeconds(30);
|
HttpClient.Timeout = TimeSpan.FromSeconds(30);
|
||||||
HttpClient.DefaultRequestHeaders.Add("User-Agent", ProjectRepository);
|
HttpClient.DefaultRequestHeaders.Add("User-Agent", ProjectRepository);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user