mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
- Windows 上隐藏原生菜单栏和窗口装饰,前端渲染自定义窗口控制按钮(最小化/最大化/关闭) - macOS 保持原生菜单栏不变(条件编译) - Sidebar 在 Windows 上不再添加 macOS 红绿灯的额外顶部间距 - 新增 Windows 构建脚本和 NSIS 安装钩子 - 服务端 CORS、会话服务、对话服务改进及测试补充 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
517 B
NSIS
18 lines
517 B
NSIS
!macro NSIS_HOOK_PREINSTALL
|
|
DetailPrint "Stopping running Claude Code Haha processes..."
|
|
nsExec::ExecToLog 'taskkill /F /T /IM claude-code-desktop.exe'
|
|
Pop $0
|
|
nsExec::ExecToLog 'taskkill /F /T /IM claude-sidecar.exe'
|
|
Pop $0
|
|
Sleep 1000
|
|
!macroend
|
|
|
|
!macro NSIS_HOOK_PREUNINSTALL
|
|
DetailPrint "Stopping running Claude Code Haha processes..."
|
|
nsExec::ExecToLog 'taskkill /F /T /IM claude-code-desktop.exe'
|
|
Pop $0
|
|
nsExec::ExecToLog 'taskkill /F /T /IM claude-sidecar.exe'
|
|
Pop $0
|
|
Sleep 1000
|
|
!macroend
|