Skip to content

Commit

Permalink
Remove ironzip
Browse files Browse the repository at this point in the history
  • Loading branch information
Killers0992 committed Nov 16, 2024
1 parent ac9a72d commit 8ea6ed3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions XProxy.BuildRelease/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using IronZip;
using McMaster.Extensions.CommandLineUtils;
using McMaster.Extensions.CommandLineUtils;
using Microsoft.Extensions.Hosting;
using Newtonsoft.Json;
using System.IO.Compression;
using System.Reflection;
using XProxy.Models;

Expand Down Expand Up @@ -79,10 +79,10 @@ public async Task<int> OnExecute(IConsole console)

console.WriteLine($" [INFO] Create dependencies.zip archive with\n-{string.Join("\n -",validReferences)}");

using (var archive = new IronZipArchive(Path.Combine(MainPath, "dependencies.zip")))
using (ZipArchive archive = ZipFile.Open(Path.Combine(MainPath, "dependencies.zip"), ZipArchiveMode.Create))
{
foreach (var file in validReferences)
archive.Add(file);
archive.CreateEntryFromFile(file, Path.GetFileName(file));
}

console.WriteLine($" [INFO] Archive dependencies.zip created");
Expand Down
1 change: 0 additions & 1 deletion XProxy.BuildRelease/XProxy.BuildRelease.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="IronZIP" Version="2024.11.3" />
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="4.1.1" />
<PackageReference Include="McMaster.Extensions.Hosting.CommandLine" Version="4.1.1" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.0" />
Expand Down

0 comments on commit 8ea6ed3

Please sign in to comment.