bookworm-boot/卸载Bookworm.bat
bookworm ec490c3f35 feat(v3.1.2): 完整生命周期 (闭合 L9-L12)
新增:
- 卸载Bookworm.bat + 卸载Bookworm-impl.ps1: 7 步清理
- bw-doctor.ps1: 13 维度健康体检工具
- 桌面快捷方式 2→4 (新增体检+卸载)

增强:
- bw-launch.ps1: nvm/fnm/volta 探测 + log rotation
- auto-setup.ps1: npm/uvx 国内镜像双 fallback

12/12 局限全部闭合, v3.1.x 生命周期完整.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-26 15:12:15 +08:00

23 lines
762 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
chcp 65001 > nul
:: v3.1.2: Bookworm 完整卸载脚本
:: 删除: 桌面 .lnk × 4 / ~/.claude / DPAPI HKCU 凭证 /
:: 双 profile (PS7+PS5.1) 的 BW_CRED + BW_CLIP 块 / Toast 备份还原 /
:: ANTHROPIC_* User 环境变量
:: 保留: Node/Git/PS7/Claude Code (公共依赖, 不主动卸)
:: 调用配套 PS 脚本完成所有清理 (cmd 不擅长 PS 多行)
setlocal
where pwsh >nul 2>nul && set "PSH=pwsh" || set "PSH=powershell"
set "UNINST_PS1=%~dp0卸载Bookworm-impl.ps1"
if not exist "%UNINST_PS1%" (
echo [!] 卸载实现脚本缺失: %UNINST_PS1%
echo [!] 请重跑 Bookworm-Setup.exe Phase 3 重新克隆 bookworm-boot
pause
exit /b 1
)
%PSH% -NoProfile -ExecutionPolicy Bypass -File "%UNINST_PS1%"
endlocal