Merge pull request #2942 from pizzaboxer/qol/remove-unnecessary

Remove unnecessary stuff from the code
This commit is contained in:
pizzaboxer 2024-09-21 19:21:20 +01:00 committed by GitHub
commit 99d2d106fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 4 deletions

View File

@ -753,8 +753,7 @@ namespace Bloxstrap
List<string> modFolderFiles = new(); List<string> modFolderFiles = new();
if (!Directory.Exists(Paths.Modifications)) Directory.CreateDirectory(Paths.Modifications);
Directory.CreateDirectory(Paths.Modifications);
// check custom font mod // check custom font mod
// instead of replacing the fonts themselves, we'll just alter the font family manifests // instead of replacing the fonts themselves, we'll just alter the font family manifests

View File

@ -36,7 +36,6 @@
public event EventHandler? OnAppClose; public event EventHandler? OnAppClose;
public event EventHandler<Message>? OnRPCMessage; public event EventHandler<Message>? OnRPCMessage;
private readonly Dictionary<string, string> GeolocationCache = new();
private DateTime LastRPCRequest; private DateTime LastRPCRequest;
public string LogLocation = null!; public string LogLocation = null!;

View File

@ -50,7 +50,6 @@ namespace Bloxstrap
public static string GetRobloxVersion(bool studio) public static string GetRobloxVersion(bool studio)
{ {
string versionGuid = studio ? App.State.Prop.Studio.VersionGuid : App.State.Prop.Player.VersionGuid;
string fileName = studio ? "Studio/RobloxStudioBeta.exe" : "Player/RobloxPlayerBeta.exe"; string fileName = studio ? "Studio/RobloxStudioBeta.exe" : "Player/RobloxPlayerBeta.exe";
string playerLocation = Path.Combine(Paths.Roblox, fileName); string playerLocation = Path.Combine(Paths.Roblox, fileName);