remove win32 message boxes

This commit is contained in:
bluepilledgreat 2024-09-21 19:07:43 +01:00
parent c58a8ab739
commit 724677be64

View File

@ -17,20 +17,7 @@ namespace Bloxstrap.UI
if (App.LaunchSettings.QuietFlag.Active) if (App.LaunchSettings.QuietFlag.Active)
return defaultResult; return defaultResult;
if (App.LaunchSettings.RobloxLaunchMode != LaunchMode.None)
return ShowFluentMessageBox(message, icon, buttons); return ShowFluentMessageBox(message, icon, buttons);
switch (App.Settings.Prop.BootstrapperStyle)
{
case BootstrapperStyle.FluentDialog:
case BootstrapperStyle.ClassicFluentDialog:
case BootstrapperStyle.FluentAeroDialog:
case BootstrapperStyle.ByfronDialog:
return ShowFluentMessageBox(message, icon, buttons);
default:
return MessageBox.Show(message, App.ProjectName, buttons, icon);
}
} }
public static void ShowPlayerErrorDialog(bool crash = false) public static void ShowPlayerErrorDialog(bool crash = false)