Formatting fixes, bump version

This commit is contained in:
pizzaboxer 2023-04-20 13:30:29 +01:00
parent 6ea198f1e1
commit 055e75cfbe
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8
5 changed files with 10 additions and 6 deletions

View File

@ -2,6 +2,7 @@
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net;
using System.Reflection;
@ -332,12 +333,10 @@ namespace Bloxstrap
// we've got ownership of the roblox singleton mutex!
// if we stop running, everything will screw up once any more roblox instances launched
while (Utilities.GetProcessCount("RobloxPlayerBeta", false) != 0)
{
while (Process.GetProcessesByName("RobloxPlayerBeta").Any())
Thread.Sleep(5000);
}
}
}
Logger.WriteLine($"[App::OnStartup] Successfully reached end of main thread. Terminating...");

View File

@ -7,8 +7,8 @@
<UseWPF>true</UseWPF>
<UseWindowsForms>True</UseWindowsForms>
<ApplicationIcon>Bloxstrap.ico</ApplicationIcon>
<Version>2.1.0</Version>
<FileVersion>2.1.0.0</FileVersion>
<Version>2.2.0</Version>
<FileVersion>2.2.0.0</FileVersion>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>

View File

@ -819,6 +819,9 @@ namespace Bloxstrap
if (App.FastFlags.GetValue(FastFlagManager.RenderingModes["Direct3D 11"]) == "True" && App.FastFlags.GetValue("FFlagHandleAltEnterFullscreenManually") != "False")
App.FastFlags.SetRenderingMode("Automatic");
// this is just in case something ever changes, i doubt it but lol
App.State.Prop.HadReShadeInstalled = true;
}
}

View File

@ -80,6 +80,7 @@ namespace Bloxstrap.Helpers
public static readonly List<string> SelectableChannels = new()
{
"LIVE",
"ZWinPlayer64",
"ZFlag",
"ZNext",
"ZCanary",

View File

@ -9,6 +9,7 @@ namespace Bloxstrap.Models
public class State
{
public string VersionGuid { get; set; } = "";
public bool HadReShadeInstalled { get; set; } = false;
public List<string> ModManifest { get; set; } = new();
}
}