From 15904ff51f870b74e8a9ae62bf86217ab3cab109 Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Sat, 21 Sep 2024 18:51:32 +0100 Subject: [PATCH 1/3] removed unused variable --- Bloxstrap/Utilities.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Bloxstrap/Utilities.cs b/Bloxstrap/Utilities.cs index 327f7340..6d16a276 100644 --- a/Bloxstrap/Utilities.cs +++ b/Bloxstrap/Utilities.cs @@ -50,7 +50,6 @@ public static VersionComparison CompareVersions(string versionStr1, string versi 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 playerLocation = Path.Combine(Paths.Roblox, fileName); From 2c3a4b4e5e4de819fa96820e9dc77adc35a1d780 Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Sat, 21 Sep 2024 18:52:02 +0100 Subject: [PATCH 2/3] remove unused value in activity watcher --- Bloxstrap/Integrations/ActivityWatcher.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Bloxstrap/Integrations/ActivityWatcher.cs b/Bloxstrap/Integrations/ActivityWatcher.cs index 673e1959..b1d13d4f 100644 --- a/Bloxstrap/Integrations/ActivityWatcher.cs +++ b/Bloxstrap/Integrations/ActivityWatcher.cs @@ -36,7 +36,6 @@ public class ActivityWatcher : IDisposable public event EventHandler? OnAppClose; public event EventHandler? OnRPCMessage; - private readonly Dictionary GeolocationCache = new(); private DateTime LastRPCRequest; public string LogLocation = null!; From 7e8b699adf7fe24262eb6297b3b0806b918d4a4a Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Sat, 21 Sep 2024 18:55:43 +0100 Subject: [PATCH 3/3] remove unnecessary directory check --- Bloxstrap/Bootstrapper.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index 62116b9c..8cd32f49 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -753,8 +753,7 @@ private async Task ApplyModifications() List modFolderFiles = new(); - if (!Directory.Exists(Paths.Modifications)) - Directory.CreateDirectory(Paths.Modifications); + Directory.CreateDirectory(Paths.Modifications); // check custom font mod // instead of replacing the fonts themselves, we'll just alter the font family manifests