From 7d5fe6285259e321da8be89bb4f6d222fb962d00 Mon Sep 17 00:00:00 2001 From: kawaiizenbo <48113593+kawaiizenbo@users.noreply.github.com> Date: Sun, 17 Oct 2021 22:18:24 -0700 Subject: [PATCH] a tiny amount of oops --- RepoFullDownloader-Core/Program.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/RepoFullDownloader-Core/Program.cs b/RepoFullDownloader-Core/Program.cs index 9242c73..185e161 100644 --- a/RepoFullDownloader-Core/Program.cs +++ b/RepoFullDownloader-Core/Program.cs @@ -5,9 +5,7 @@ using RepoFullDownloader; using System; using System.Collections.Generic; -using System.Diagnostics; using System.IO; -using System.Linq; using System.Net; using System.Text.Json; using System.Threading; @@ -115,7 +113,7 @@ namespace RepoFullDownloader_Core webClient.DownloadFile(new Uri(link + "Packages.gz"), "Packages.gz"); FileStream packagesGz = new FileInfo("Packages.gz").OpenRead(); FileStream packagesGzDecompressed = File.Create("Packages"); - BZip2.Decompress(packagesGz, packagesGzDecompressed, true); + GZip.Decompress(packagesGz, packagesGzDecompressed, true); } catch (Exception _e) {