diff --git a/RobloxLegacy/Installer.cs b/RobloxLegacy/Installer.cs index e3bdc06..ef66a21 100644 --- a/RobloxLegacy/Installer.cs +++ b/RobloxLegacy/Installer.cs @@ -21,13 +21,11 @@ public class Installer ); // create a shortcut in the start menu - var startMenuPath = Path.Combine( - Environment.GetFolderPath(Environment.SpecialFolder.StartMenu), "Programs"); Shortcut.Create( "Roblox Legacy", filePath, "Updater and patcher for roblox on legacy operating systems", - startMenuPath + Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.StartMenu), "Programs") ); } diff --git a/RobloxLegacy/Utilities/Logger.cs b/RobloxLegacy/Utilities/Logger.cs index 08503f0..d37211f 100644 --- a/RobloxLegacy/Utilities/Logger.cs +++ b/RobloxLegacy/Utilities/Logger.cs @@ -4,11 +4,11 @@ public static class Logger { public static void Info(string msg) { - Console.Write($"[+] {msg}\n", ConsoleColor.Gray); + Console.Write($"[+] {msg}\n"); } public static void Error(string msg) { - Console.Write($"[!] {msg}\n", ConsoleColor.Red); + Console.Write($"[!] {msg}\n"); } } \ No newline at end of file diff --git a/RobloxLegacy/Utilities/BinaryPatcher.cs b/RobloxLegacy/Utilities/Patcher.cs similarity index 98% rename from RobloxLegacy/Utilities/BinaryPatcher.cs rename to RobloxLegacy/Utilities/Patcher.cs index 1c36eb3..baa07fb 100644 --- a/RobloxLegacy/Utilities/BinaryPatcher.cs +++ b/RobloxLegacy/Utilities/Patcher.cs @@ -2,7 +2,7 @@ namespace RobloxLegacy.Utilities; -public static class BinaryPatcher +public static class Patcher { // this is insanely autistic // if you have a better way of doing it let me know diff --git a/RobloxLegacy/VersionManager.cs b/RobloxLegacy/VersionManager.cs index cd5ed84..a969386 100644 --- a/RobloxLegacy/VersionManager.cs +++ b/RobloxLegacy/VersionManager.cs @@ -61,7 +61,7 @@ public class VersionManager : IDisposable var exePath = Path.Combine(GetVersionPath(_currentVersion), _appData.ExecutableName); // rename imports first - BinaryPatcher.RenameImports(exePath, ["KERNEL32.dll", "MFPlat.DLL"], DllName); + Patcher.RenameImports(exePath, ["KERNEL32.dll", "MFPlat.DLL"], DllName); // now we can write the dll to the folder var dllContents = new Resource($"RobloxLegacy.{DllName}").GetBytes();