diff --git a/setup.ps1 b/setup.ps1 index d7141dd..7f03ca2 100644 --- a/setup.ps1 +++ b/setup.ps1 @@ -24,7 +24,7 @@ try { $OutputEncoding = [System.Text.Encoding]::UTF8 } catch { # 静默处理 - ISE 等环境可能不支持 Console 类操作 - +} # ========== 颜色输出函数 ========== function Write-Info { param([string]$Message); Write-Host "[INFO]" -ForegroundColor Blue -NoNewline; Write-Host " $Message" } function Write-Success { param([string]$Message); Write-Host "[SUCCESS]" -ForegroundColor Green -NoNewline; Write-Host " $Message" }