Skip to content

Commit

Permalink
Use LIVE instead of zLive
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximumADHD committed Aug 28, 2022
1 parent edba22e commit 67c306e
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Config/KnownChannels.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
"zLive",
"LIVE",
"zCanary",
"zIntegration",
"zQtitanStudioRelease"
Expand Down
2 changes: 1 addition & 1 deletion ProjectSrc/Bootstrapper/FileManifest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static async Task<FileManifest> Get(ClientVersionInfo info, bool remapExt
Channel channel = info.Channel;
string versionGuid = info.VersionGuid;

string fileManifestUrl = $"https://setup.rbxcdn.com/channel/{channel}/{versionGuid}-rbxManifest.txt";
string fileManifestUrl = $"{channel.BaseUrl}/{versionGuid}-rbxManifest.txt";
string fileManifestData;

using (WebClient http = new WebClient())
Expand Down
2 changes: 1 addition & 1 deletion ProjectSrc/Bootstrapper/PackageManifest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static async Task<PackageManifest> Get(ClientVersionInfo info)
Channel channel = info.Channel;
string versionGuid = info.VersionGuid;

string pkgManifestUrl = $"https://setup.rbxcdn.com/channel/{channel}/{versionGuid}-rbxPkgManifest.txt";
string pkgManifestUrl = $"{channel.BaseUrl}/{versionGuid}-rbxPkgManifest.txt";
string pkgManifestData;

using (WebClient http = new WebClient())
Expand Down
6 changes: 3 additions & 3 deletions ProjectSrc/Bootstrapper/StudioBootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private set
}
}

public Channel Channel { get; set; } = "zLive";
public Channel Channel { get; set; } = "LIVE";
public string OverrideStudioDirectory { get; set; } = "";

public bool CanShutdownStudio { get; set; } = true;
Expand Down Expand Up @@ -444,7 +444,7 @@ private async Task<bool> packageExists(Package package)
echo($"Verifying availability of: {package.Name}");

string pkgName = package.Name;
var zipFileUrl = new Uri($"https://setup.rbxcdn.com/channel/{Channel}/{buildVersion}-{pkgName}");
var zipFileUrl = new Uri($"{Channel.BaseUrl}/{buildVersion}-{pkgName}");

var request = WebRequest.Create(zipFileUrl) as HttpWebRequest;
request.Headers.Set("UserAgent", UserAgent);
Expand All @@ -465,7 +465,7 @@ private async Task<byte[]> installPackage(Package package)
{
byte[] result = null;
string pkgName = package.Name;
string zipFileUrl = $"https://setup.rbxcdn.com/channel/{Channel}/{buildVersion}-{pkgName}";
string zipFileUrl = $"{Channel.BaseUrl}/{buildVersion}-{pkgName}";

using (var localHttp = new WebClient())
{
Expand Down
2 changes: 1 addition & 1 deletion ProjectSrc/Forms/Launcher.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ProjectSrc/Forms/Launcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ private async void channelSelect_SelectedIndexChanged(object sender, EventArgs e
}

// If the target isn't valid, fallback to live.
targetVersion.Text = "zLive";
targetVersion.Text = "LIVE";
}

private void targetVersion_SelectedIndexChanged(object sender, EventArgs e)
Expand Down
4 changes: 2 additions & 2 deletions ProjectSrc/Utility/AppState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class ExplorerIconManifest

public class VersionManifest
{
public string Channel = "zLive";
public string Channel = "LIVE";
public string Version = "";

public string VersionGuid = "";
Expand Down Expand Up @@ -42,7 +42,7 @@ public interface IBootstrapperState

public class ModManagerState : IBootstrapperState
{
public string Channel { get; set; } = "zLive";
public string Channel { get; set; } = "LIVE";
public string TargetVersion { get; set; } = "";

public bool DisableFlagWarning { get; set; } = false;
Expand Down
Binary file modified RobloxStudioModManager.exe
Binary file not shown.

0 comments on commit 67c306e

Please sign in to comment.