mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-10 15:25:42 -07:00
remove behind production check for channels (#4730)
This commit is contained in:
parent
7977dba498
commit
1258dc3589
@ -305,14 +305,6 @@ namespace Bloxstrap
|
||||
clientVersion = await Deployment.GetInfo();
|
||||
}
|
||||
|
||||
if (clientVersion.IsBehindDefaultChannel)
|
||||
{
|
||||
App.Logger.WriteLine(LOG_IDENT, $"Resetting channel from {Deployment.Channel} because it's behind production");
|
||||
|
||||
Deployment.Channel = Deployment.DefaultChannel;
|
||||
clientVersion = await Deployment.GetInfo();
|
||||
}
|
||||
|
||||
key.SetValueSafe("www.roblox.com", Deployment.IsDefaultChannel ? "" : Deployment.Channel);
|
||||
|
||||
_latestVersionGuid = clientVersion.VersionGuid;
|
||||
|
@ -12,7 +12,5 @@
|
||||
public string BootstrapperVersion { get; set; } = null!;
|
||||
|
||||
public DateTime? Timestamp { get; set; }
|
||||
|
||||
public bool IsBehindDefaultChannel { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -187,15 +187,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
// check if channel is behind LIVE
|
||||
if (!isDefaultChannel)
|
||||
{
|
||||
var defaultClientVersion = await GetInfo(DefaultChannel);
|
||||
|
||||
if (Utilities.CompareVersions(clientVersion.Version, defaultClientVersion.Version) == VersionComparison.LessThan)
|
||||
clientVersion.IsBehindDefaultChannel = true;
|
||||
}
|
||||
|
||||
ClientVersionCache[cacheKey] = clientVersion;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user