a tiny amount of oops
This commit is contained in:
parent
dfc90b75d0
commit
7d5fe62852
1 changed files with 1 additions and 3 deletions
|
@ -5,9 +5,7 @@ using RepoFullDownloader;
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
@ -115,7 +113,7 @@ namespace RepoFullDownloader_Core
|
||||||
webClient.DownloadFile(new Uri(link + "Packages.gz"), "Packages.gz");
|
webClient.DownloadFile(new Uri(link + "Packages.gz"), "Packages.gz");
|
||||||
FileStream packagesGz = new FileInfo("Packages.gz").OpenRead();
|
FileStream packagesGz = new FileInfo("Packages.gz").OpenRead();
|
||||||
FileStream packagesGzDecompressed = File.Create("Packages");
|
FileStream packagesGzDecompressed = File.Create("Packages");
|
||||||
BZip2.Decompress(packagesGz, packagesGzDecompressed, true);
|
GZip.Decompress(packagesGz, packagesGzDecompressed, true);
|
||||||
}
|
}
|
||||||
catch (Exception _e)
|
catch (Exception _e)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue