Load ZIP assemblies explicitly in Windows PowerShell 5.1

This commit is contained in:
raptorreplica committed 2026-10-20 21:43:47 +11:00
1 parent d1f5b7e5a2
commit 7ecaa42b29
2 files changed
+2

No files matched your search

+1
View File
@@ -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