Skip to content

Commit

Permalink
Remove non-functional fast guid logic
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximumADHD committed Sep 7, 2021
1 parent e2f2fa2 commit 7fa613a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions ProjectSrc/Bootstrapper/StudioBootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -443,34 +443,9 @@ public static async Task<ClientVersionInfo> GetCurrentVersionInfo(string branch,
return await result.ConfigureAwait(false);
}

var getFastGuid = GetFastVersionGuid(branch);
string fastGuid = await getFastGuid.ConfigureAwait(false);

string latestFastGuid = versionRegistry.GetString("LatestFastGuid");
bool is64Bit = Environment.Is64BitOperatingSystem;
var info = new ClientVersionInfo();

if (latestFastGuid == fastGuid)
{
string version = versionRegistry.GetString("Version");
info.Version = version;

string latest_x86 = versionRegistry.GetString("LatestGuid_x86");
string latest_x64 = versionRegistry.GetString("LatestGuid_x64");

if (latestFastGuid == latest_x64 && is64Bit)
{
info.VersionGuid = latest_x64;
return info;
}

if (latestFastGuid == latest_x86 && !is64Bit)
{
info.VersionGuid = latest_x86;
return info;
}
}

var logData = await StudioDeployLogs
.Get(branch)
.ConfigureAwait(false);
Expand All @@ -489,7 +464,6 @@ public static async Task<ClientVersionInfo> GetCurrentVersionInfo(string branch,
info.VersionGuid = build_x86.VersionGuid;
}

versionRegistry.SetValue("LatestFastGuid", fastGuid);
versionRegistry.SetValue("LatestGuid_x86", build_x86.VersionGuid);
versionRegistry.SetValue("LatestGuid_x64", build_x64.VersionGuid);

Expand Down
Binary file modified RobloxStudioModManager.exe
Binary file not shown.

0 comments on commit 7fa613a

Please sign in to comment.