mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01: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();
|
Dialog.CloseDialog();
|
||||||
await gameClient.WaitForExitAsync();
|
await gameClient.WaitForExitAsync();
|
||||||
|
|
||||||
if (richPresence is not null)
|
richPresence?.Dispose();
|
||||||
richPresence.Dispose();
|
|
||||||
|
|
||||||
if (App.Settings.RFUAutoclose && rbxFpsUnlocker is not null)
|
if (App.Settings.RFUAutoclose && rbxFpsUnlocker is not null)
|
||||||
rbxFpsUnlocker.Kill();
|
rbxFpsUnlocker.Kill();
|
||||||
|
@ -12,6 +12,8 @@ namespace Bloxstrap.Dialogs
|
|||||||
{
|
{
|
||||||
public Bootstrapper? Bootstrapper { get; set; }
|
public Bootstrapper? Bootstrapper { get; set; }
|
||||||
|
|
||||||
|
protected override bool ShowWithoutActivation => App.IsQuiet;
|
||||||
|
|
||||||
protected virtual string _message { get; set; } = "Please wait...";
|
protected virtual string _message { get; set; } = "Please wait...";
|
||||||
protected virtual ProgressBarStyle _progressStyle { get; set; }
|
protected virtual ProgressBarStyle _progressStyle { get; set; }
|
||||||
protected virtual int _progressValue { get; set; }
|
protected virtual int _progressValue { get; set; }
|
||||||
|
@ -38,8 +38,20 @@ namespace Bloxstrap.Enums
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!App.IsQuiet)
|
if (bootstrapper is null)
|
||||||
|
{
|
||||||
dialog.ShowDialog();
|
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()
|
public static void UninstallExtraviPresets()
|
||||||
{
|
{
|
||||||
|
if (!Directory.Exists(PresetsFolder))
|
||||||
|
return;
|
||||||
|
|
||||||
Debug.WriteLine("[ReShade] Uninstalling Extravi's presets...");
|
Debug.WriteLine("[ReShade] Uninstalling Extravi's presets...");
|
||||||
|
|
||||||
FileInfo[] presets = new DirectoryInfo(PresetsFolder).GetFiles();
|
FileInfo[] presets = new DirectoryInfo(PresetsFolder).GetFiles();
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
{
|
{
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"Bloxstrap": {
|
"Bloxstrap (Launch)": {
|
||||||
"commandName": "Project"
|
"commandName": "Project"
|
||||||
},
|
},
|
||||||
|
"Bloxstrap (Quiet)": {
|
||||||
|
"commandName": "Project",
|
||||||
|
"commandLineArgs": "-quiet"
|
||||||
|
},
|
||||||
"Bloxstrap (Menu)": {
|
"Bloxstrap (Menu)": {
|
||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"commandLineArgs": "-preferences"
|
"commandLineArgs": "-preferences"
|
||||||
|
Loading…
Reference in New Issue
Block a user