tempfix connectivity change for current code state

This commit is contained in:
pizzaboxer 2024-05-12 21:40:34 +01:00
parent 34dd845e48
commit 941cb428b4
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8

View File

@ -107,7 +107,7 @@ namespace Bloxstrap
Terminate(); Terminate();
} }
protected override void OnStartup(StartupEventArgs e) protected override async void OnStartup(StartupEventArgs e)
{ {
const string LOG_IDENT = "App::OnStartup"; const string LOG_IDENT = "App::OnStartup";
@ -131,6 +131,10 @@ namespace Bloxstrap
HttpClient.Timeout = TimeSpan.FromSeconds(30); HttpClient.Timeout = TimeSpan.FromSeconds(30);
HttpClient.DefaultRequestHeaders.Add("User-Agent", ProjectRepository); HttpClient.DefaultRequestHeaders.Add("User-Agent", ProjectRepository);
// TEMPORARY FILL-IN FOR NEW FUNCTIONALITY
// REMOVE WHEN LARGER REFACTORING IS DONE
await RobloxDeployment.InitializeConnectivity();
using (var checker = new InstallChecker()) using (var checker = new InstallChecker())
{ {
checker.Check(); checker.Check();