diff options
| author | Abdulmohsen <ArabCoders@users.noreply.github.com> | 2023-11-24 00:00:53 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-24 00:00:53 +0300 |
| commit | 9d5dc4d71b6f542d4adb60a6287a86f558c1dcc2 (patch) | |
| tree | b646b8209bd90df22c4a2a2df612f09b3be2c170 /Emby.Server.Implementations/Updates/InstallationManager.cs | |
| parent | 324c86e14d9d76670b4e3439c2ed5fcbbfb9f8ff (diff) | |
| parent | 3d4d33bcbac07be40c132cf3a3c39630ace7b444 (diff) | |
Merge branch 'jellyfin:master' into master
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); |
