Skip to content

Commit

Permalink
using new
Browse files Browse the repository at this point in the history
  • Loading branch information
qhy040404 committed May 14, 2024
1 parent 748f3e1 commit 2f6275e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified src/Snap.Hutao.Deployment.Runtime/Snap.Hutao.Deployment.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Snap.Hutao.Deployment/Package.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static bool EnsurePackage(string packagePath)
{
using (FileStream packageStream = File.OpenRead(packagePath))
{
using (ZipArchive _ = new(packageStream, ZipArchiveMode.Read))
using (new ZipArchive(packageStream, ZipArchiveMode.Read))
{
return true;
}
Expand Down

0 comments on commit 2f6275e

Please sign in to comment.