mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Use new static ZipFile functions
This commit is contained in:
parent
5fa1b8ac3a
commit
464de13acf
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user