This commit is contained in:
kawaiizenbo 2022-08-06 10:44:51 -07:00
parent d76e673a97
commit 067745e42d
2 changed files with 2 additions and 2 deletions

View file

@ -10,4 +10,4 @@ An internet connection.
Running with no URL will use the repo list from `repos.txt` Running with no URL will use the repo list from `repos.txt`
## Binaries ## Binaries
https://nightly.link/kawaiizenbo/RepoFullDownloader-Core/workflows/build/master/Build.zip https://nightly.link/kawaiizenbo/RepoFullDownloader-Core/workflows/dotnet/master/Build.zip

View file

@ -149,7 +149,7 @@ namespace RepoFullDownloader_Core
{ {
Console.WriteLine("Could not download " + link + "Packages.bz2: " + e.Message); Console.WriteLine("Could not download " + link + "Packages.bz2: " + e.Message);
Console.WriteLine("Attempting to download " + link + "Packages.gz"); Console.WriteLine("Attempting to download " + link + "Packages.gz");
Stream packagesGz = webClient.GetStreamAsync(link + "Packages.bz2").Result; Stream packagesGz = webClient.GetStreamAsync(link + "Packages.gz").Result;
FileStream packagesGzDecompressed = File.Create($"./output/{cleanLink}/Packages"); FileStream packagesGzDecompressed = File.Create($"./output/{cleanLink}/Packages");
GZip.Decompress(packagesGz, packagesGzDecompressed, true); GZip.Decompress(packagesGz, packagesGzDecompressed, true);
} }