mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
remove behind production check for channels
This commit is contained in:
parent
4785464332
commit
420b026143
@ -303,14 +303,6 @@ namespace Bloxstrap
|
|||||||
clientVersion = await Deployment.GetInfo();
|
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);
|
key.SetValueSafe("www.roblox.com", Deployment.IsDefaultChannel ? "" : Deployment.Channel);
|
||||||
|
|
||||||
_latestVersionGuid = clientVersion.VersionGuid;
|
_latestVersionGuid = clientVersion.VersionGuid;
|
||||||
|
@ -12,7 +12,5 @@
|
|||||||
public string BootstrapperVersion { get; set; } = null!;
|
public string BootstrapperVersion { get; set; } = null!;
|
||||||
|
|
||||||
public DateTime? Timestamp { get; set; }
|
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;
|
ClientVersionCache[cacheKey] = clientVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user