remove system.console assembly

This commit is contained in:
Calyx Hikari 2025-07-01 23:36:19 +08:00
parent 9d5727f1d6
commit 131b87bc17
4 changed files with 4 additions and 8 deletions

3
32
View file

@ -1,5 +1,4 @@
Add-Type -AssemblyName System.IO.Compression.FileSystem
Add-Type -AssemblyName "System.Console"
function Main {
if ($PSVersionTable.PSEdition -ne 'Desktop' -and $env:OS -ne 'Windows_NT') {
@ -168,4 +167,4 @@ function Main {
Main
Write-Host "Press any key to exit."
[Console]::ReadKey($true) > $null
$null = [System.Console]::ReadKey($true)