From 71d41b40a8a239fa4aec799e128aef0caca49f22 Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Thu, 10 Oct 2024 21:06:08 +0100 Subject: [PATCH] Fix bootstrapper cancelling that I broke earlier --- Bloxstrap/Bootstrapper.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index 7137721..d096b9e 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -70,10 +70,6 @@ namespace Bloxstrap { _launchMode = launchMode; - // this is now always enabled as of v2.8.0 - if (Dialog is not null) - Dialog.CancelEnabled = true; - // https://github.com/icsharpcode/SharpZipLib/blob/master/src/ICSharpCode.SharpZipLib/Zip/FastZip.cs/#L669-L680 // exceptions don't get thrown if we define events without actually binding to the failure events. probably a bug. ¯\_(ツ)_/¯ _fastZipEvents.FileFailure += (_, e) => throw e.Exception; @@ -149,6 +145,10 @@ namespace Bloxstrap App.Logger.WriteLine(LOG_IDENT, "Running bootstrapper"); + // this is now always enabled as of v2.8.0 + if (Dialog is not null) + Dialog.CancelEnabled = true; + SetStatus(Strings.Bootstrapper_Status_Connecting); var connectionResult = await RobloxDeployment.InitializeConnectivity();