diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2023-11-17 08:40:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-17 08:40:34 +0100 |
| commit | 2d2d553bbc7b29cae9d1c181d2f643d4884c80af (patch) | |
| tree | ce10d483dc4933236031f9b4d333dc44abdf82bb /Emby.Server.Implementations/Updates/InstallationManager.cs | |
| parent | e7eeb08d3464d4851e286e191182de6851230732 (diff) | |
| parent | faa22cdb843fff5d50983d7cbca4ffec4932b188 (diff) | |
Merge pull request #10591 from Bond-009/dotnet82
Use new .NET 8 features
Diffstat (limited to 'Emby.Server.Implementations/Updates/InstallationManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Updates/InstallationManager.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs index c717744b1..b31b4116d 100644 --- a/Emby.Server.Implementations/Updates/InstallationManager.cs +++ b/Emby.Server.Implementations/Updates/InstallationManager.cs @@ -551,8 +551,7 @@ namespace Emby.Server.Implementations.Updates } stream.Position = 0; - using var reader = new ZipArchive(stream); - reader.ExtractToDirectory(targetDir, true); + ZipFile.ExtractToDirectory(stream, targetDir, true); // Ensure we create one or populate existing ones with missing data. await _pluginManager.PopulateManifest(package.PackageInfo, package.Version, targetDir, status).ConfigureAwait(false); |
