Updated dependencies

Replaced deprecated DotNetZip with System.IO.Compression.
Changed target framework to net 9.0.
Removed DotNetZip package reference.
Updated Microsoft.Web.WebView2 to 1.0.2903.40.
Updated WindowsAPICodePack to 8.0.6.
This commit is contained in:
Junior 2024-11-27 00:28:46 -03:00
parent 3648b49bb3
commit 7849b2001a
8 changed files with 91 additions and 80 deletions

View file

@ -1,4 +1,4 @@
using Ionic.Zlib;
using System.IO.Compression;
using RHLauncher.RHLauncher.Helper;
using System.Text;
@ -35,7 +35,7 @@ namespace RHLauncher.RHLauncher.PCK
try
{
using MemoryStream compressedStream = new(compressedBytes);
using ZlibStream deflateStream = new(compressedStream, CompressionMode.Decompress);
using ZLibStream deflateStream = new(compressedStream, CompressionMode.Decompress);
using MemoryStream decompressedStream = new();
deflateStream.CopyTo(decompressedStream);
decompressedStream.Seek(0, SeekOrigin.Begin);