联通顺丰更新 - 资源共享
https://www.yaohuo.me/bbs-1521526.html
https://www.yaohuo.me/bbs-1521526.html
#!/bin/bash
# Claude Code 用户操作通知脚本
# 发送带自定义图标的 macOS 系统通知
MESSAGE="${1:-Claude Code 需要您的操作}"
# 使用自定义应用的 bundle ID 来发送通知
# 这样左侧会显示 Claude.app 的图标
terminal-notifier \
-message "$MESSAGE" \
-title "Claude Code" \
-subtitle "请检查终端" \
-sender "com.anthropic.claudefordesktop" \
-sound default
exit 0chmod +x ~/.claude/hooks/notify.sh{
"hooks": {
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "bash ~/.claude/hooks/notify.sh '有待处理的操作'"
}
]
}
]
}
}
00008140-001825511433001C.mobiledevicepairing