From 722190404aa4822a618787802e8d6a1085df59c7 Mon Sep 17 00:00:00 2001 From: bookworm Date: Fri, 10 Apr 2026 12:29:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=97=AA=E5=B1=8F=E5=90=8E=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E5=B8=A6=20Bookworm=20=E6=A0=87=E9=A2=98=E7=9A=84?= =?UTF-8?q?=E7=BB=88=E7=AB=AF=E7=AA=97=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto-setup.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/auto-setup.ps1 b/auto-setup.ps1 index 3757060..7543b79 100644 --- a/auto-setup.ps1 +++ b/auto-setup.ps1 @@ -1413,6 +1413,12 @@ if ($allOK -and $env:ANTHROPIC_API_KEY) { $splash.Close() $splash.Dispose() + # 启动 Bookworm — 带品牌标题的 PowerShell 窗口 + if (-not $SkipLaunch) { + $launchCmd = "title Bookworm Smart Assistant v$BWVersion && cd /d `"$BootDir`" && claude --dangerously-skip-permissions" + Start-Process -FilePath "cmd.exe" -ArgumentList "/k", $launchCmd + } + } else { Bw-Log "DONE" "安装完成但部分受限 allOK=$allOK hasKey=$($env:ANTHROPIC_API_KEY -ne $null)"