mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Fix bootstrapper cancelling that I broke earlier
This commit is contained in:
parent
173f1921a6
commit
71d41b40a8
@ -70,10 +70,6 @@ namespace Bloxstrap
|
|||||||
{
|
{
|
||||||
_launchMode = launchMode;
|
_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
|
// 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. ¯\_(ツ)_/¯
|
// 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;
|
_fastZipEvents.FileFailure += (_, e) => throw e.Exception;
|
||||||
@ -149,6 +145,10 @@ namespace Bloxstrap
|
|||||||
|
|
||||||
App.Logger.WriteLine(LOG_IDENT, "Running bootstrapper");
|
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);
|
SetStatus(Strings.Bootstrapper_Status_Connecting);
|
||||||
|
|
||||||
var connectionResult = await RobloxDeployment.InitializeConnectivity();
|
var connectionResult = await RobloxDeployment.InitializeConnectivity();
|
||||||
|
Loading…
Reference in New Issue
Block a user