fix: 闪屏后启动带 Bookworm 标题的终端窗口
This commit is contained in:
parent
38b2a2d022
commit
722190404a
@ -1413,6 +1413,12 @@ if ($allOK -and $env:ANTHROPIC_API_KEY) {
|
|||||||
$splash.Close()
|
$splash.Close()
|
||||||
$splash.Dispose()
|
$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 {
|
} else {
|
||||||
Bw-Log "DONE" "安装完成但部分受限 allOK=$allOK hasKey=$($env:ANTHROPIC_API_KEY -ne $null)"
|
Bw-Log "DONE" "安装完成但部分受限 allOK=$allOK hasKey=$($env:ANTHROPIC_API_KEY -ne $null)"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user