From fb5be7563ab4d489b25706298fe037b62c756c74 Mon Sep 17 00:00:00 2001 From: sususu98 Date: Sat, 28 Feb 2026 15:59:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20setup.ps1=20?= =?UTF-8?q?=E4=B8=AD=20catch=20=E5=9D=97=E7=BC=BA=E5=B0=91=E9=97=AD?= =?UTF-8?q?=E5=90=88=E5=A4=A7=E6=8B=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }