diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index 6824e31..6d4dbd6 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -205,7 +205,7 @@ namespace Bloxstrap return; } - if (!File.Exists("C:\\Windows\\System32\\mfplat.dll")) + if (!File.Exists(Path.Combine(Directories.System, "mfplat.dll"))) { Controls.ShowMessageBox( "Roblox requires the use of Windows Media Foundation components. You appear to be missing them, likely because you are using an N edition of Windows. Please install them first, and then launch Roblox.", @@ -1093,7 +1093,7 @@ namespace Bloxstrap if (File.Exists(fileVersionFolder)) { - if (Utility.MD5Hash.FromFile(fileModFolder) == Utility.MD5Hash.FromFile(fileVersionFolder)) + if (MD5Hash.FromFile(fileModFolder) == MD5Hash.FromFile(fileVersionFolder)) continue; } diff --git a/Bloxstrap/Directories.cs b/Bloxstrap/Directories.cs index 21f9d13..7f0141e 100644 --- a/Bloxstrap/Directories.cs +++ b/Bloxstrap/Directories.cs @@ -8,7 +8,7 @@ public static string LocalAppData => Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData); public static string Desktop => Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory); public static string StartMenu => Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.StartMenu), "Programs", App.ProjectName); - public static string MyPictures => Environment.GetFolderPath(Environment.SpecialFolder.MyPictures); + public static string System => Environment.GetFolderPath(Environment.SpecialFolder.System); public static string Base { get; private set; } = ""; public static string Downloads { get; private set; } = "";