use sharpziplib instead

This commit is contained in:
bluepilledgreat 2023-10-04 16:32:46 +01:00
parent 9dc836f8f3
commit 0b25566a7d
2 changed files with 3 additions and 4 deletions

View File

@ -40,12 +40,12 @@
<ItemGroup>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1" />
<PackageReference Include="DiscordRichPresence" Version="1.2.1.24" />
<PackageReference Include="DotNetZip" Version="1.16.0" />
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.18-beta">
<!--<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>-->
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="securifybv.ShellLink" Version="0.1.0" />
<PackageReference Include="SharpZipLib" Version="1.4.2" />
</ItemGroup>
<ItemGroup>

View File

@ -1468,9 +1468,8 @@ namespace Bloxstrap
App.Logger.WriteLine(LOG_IDENT, $"Extracting {package.Name}...");
// not async but faster than previous implementation
using Ionic.Zip.ZipFile zip = Ionic.Zip.ZipFile.Read(packageLocation);
zip.ExtractAll(packageFolder);
var fastZip = new ICSharpCode.SharpZipLib.Zip.FastZip();
fastZip.ExtractZip(packageLocation, packageFolder, "(.*?)");
App.Logger.WriteLine(LOG_IDENT, $"Finished extracting {package.Name}");