refactor(desktop): code review fixes

- Shortcut: Cmd+Shift+C → Cmd+Shift+M (avoid Chrome DevTools conflict)
- Preload: onData/onExit now return cleanup functions (fix memory leak)
- PTY: resolve shell path at construction time, throw on missing claude CLI
- Terminal: remove allowProposedApi, dedupe resize listeners, add cleanup
- Main: debounce window move config writes (500ms), restart PTY on activate
- CSS: remove unused orbGlow keyframes
- Package: fix appId to com.apaam.myclaude, skip code signing, remove unused deps
This commit is contained in:
Zhengshou Lai
2026-05-27 11:23:14 +08:00
parent 0c227cae19
commit 2ac1c9750e
8 changed files with 56 additions and 75 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ npm run dev # 开发模式
**快捷键:**
- `Cmd+Shift+C`macOS/ `Ctrl+Shift+C`Win/Linux):显示/隐藏宠物
- `Cmd+Shift+M`macOS/ `Ctrl+Shift+M`Win/Linux):显示/隐藏宠物
**特性:**