mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 18:11:27 -07:00
Fix bug with Bloxstrap not staying open
looks like my dumbass completely forgot why i used application.run to begin with
This commit is contained in:
parent
02727cc751
commit
abd56959f2
@ -280,8 +280,7 @@ namespace Bloxstrap
|
||||
Dialog.CloseDialog();
|
||||
await gameClient.WaitForExitAsync();
|
||||
|
||||
if (richPresence is not null)
|
||||
richPresence.Dispose();
|
||||
richPresence?.Dispose();
|
||||
|
||||
if (App.Settings.RFUAutoclose && rbxFpsUnlocker is not null)
|
||||
rbxFpsUnlocker.Kill();
|
||||
|
@ -12,6 +12,8 @@ namespace Bloxstrap.Dialogs
|
||||
{
|
||||
public Bootstrapper? Bootstrapper { get; set; }
|
||||
|
||||
protected override bool ShowWithoutActivation => App.IsQuiet;
|
||||
|
||||
protected virtual string _message { get; set; } = "Please wait...";
|
||||
protected virtual ProgressBarStyle _progressStyle { get; set; }
|
||||
protected virtual int _progressValue { get; set; }
|
||||
|
@ -38,8 +38,20 @@ namespace Bloxstrap.Enums
|
||||
break;
|
||||
}
|
||||
|
||||
if (!App.IsQuiet)
|
||||
if (bootstrapper is null)
|
||||
{
|
||||
dialog.ShowDialog();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (App.IsQuiet)
|
||||
{
|
||||
dialog.Opacity = 0;
|
||||
dialog.ShowInTaskbar = false;
|
||||
}
|
||||
|
||||
Application.Run(dialog);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -300,6 +300,9 @@ namespace Bloxstrap.Helpers.Integrations
|
||||
|
||||
public static void UninstallExtraviPresets()
|
||||
{
|
||||
if (!Directory.Exists(PresetsFolder))
|
||||
return;
|
||||
|
||||
Debug.WriteLine("[ReShade] Uninstalling Extravi's presets...");
|
||||
|
||||
FileInfo[] presets = new DirectoryInfo(PresetsFolder).GetFiles();
|
||||
|
@ -1,8 +1,12 @@
|
||||
{
|
||||
"profiles": {
|
||||
"Bloxstrap": {
|
||||
"Bloxstrap (Launch)": {
|
||||
"commandName": "Project"
|
||||
},
|
||||
"Bloxstrap (Quiet)": {
|
||||
"commandName": "Project",
|
||||
"commandLineArgs": "-quiet"
|
||||
},
|
||||
"Bloxstrap (Menu)": {
|
||||
"commandName": "Project",
|
||||
"commandLineArgs": "-preferences"
|
||||
|
Loading…
Reference in New Issue
Block a user