Load ZIP assemblies explicitly in Windows PowerShell 5.1
This commit is contained in:
1 parent
d1f5b7e5a2
commit
7ecaa42b29
2 files changed
+2
No files matched your search
@@ -98,6 +98,7 @@ try {
|
||||
}
|
||||
}
|
||||
if ($platformCount -ne 1 -or $data.Count -eq 0 -or $assets.Count -ne ($data.Count + 1)) { throw 'Incomplete release asset manifest.' }
|
||||
Add-Type -AssemblyName System.IO.Compression
|
||||
Add-Type -AssemblyName System.IO.Compression.FileSystem
|
||||
foreach ($asset in $assets) {
|
||||
$name = $asset.name
|
||||
|
||||
Reference in new issue
Block a user