Skip to content

Commit

Permalink
A few other chain dependency fixes...
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximumADHD committed Feb 12, 2021
1 parent 4cdaa6c commit 83479ca
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions ProjectSrc/Bootstrapper/StudioBootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -948,15 +948,6 @@ public async Task<bool> Bootstrap(string targetVersion = "")
.Get(Branch, buildVersion, RemapExtraContent)
.ConfigureAwait(true);

if (GenerateMetadata)
{
string pkgManifestPath = Path.Combine(studioDir, "rbxPkgManifest.txt");
File.WriteAllText(pkgManifestPath, pkgManifest.RawData);

string fileManifestPath = Path.Combine(studioDir, "rbxManifest.txt");
File.WriteAllText(fileManifestPath, fileManifest.RawData);
}

Progress = 0;
MaxProgress = 0;
ProgressBarStyle = ProgressBarStyle.Continuous;
Expand Down Expand Up @@ -1060,6 +1051,9 @@ await Task

foreach (Package package in pkgManifest)
{
if (!package.ShouldInstall)
continue;

var extract = Task.Run(() => extractPackage(writtenFiles, package));
taskQueue.Add(extract);
}
Expand All @@ -1078,6 +1072,20 @@ await Task

if (GenerateMetadata)
{
echo("Writing metadata...");

string pkgManifestPath = Path.Combine(studioDir, "rbxPkgManifest.txt");
File.WriteAllText(pkgManifestPath, pkgManifest.RawData);

string fileManifestPath = Path.Combine(studioDir, "rbxManifest.txt");
File.WriteAllText(fileManifestPath, fileManifest.RawData);

string versionPath = Path.Combine(studioDir, "version.txt");
File.WriteAllText(versionPath, versionId);

string versionGuidPath = Path.Combine(studioDir, "version-guid.txt");
File.WriteAllText(versionGuidPath, buildVersion);

echo("Dumping API...");

string studioPath = GetLocalStudioPath();
Expand Down
Binary file modified RobloxStudioModManager.exe
Binary file not shown.

0 comments on commit 83479ca

Please sign in to comment.