sync: auto-sync from HOWARD-HOME at 2026-05-14 19:07:17
Author: Howard Enos Machine: HOWARD-HOME Timestamp: 2026-05-14 19:07:17
This commit is contained in:
@@ -22,8 +22,9 @@ if [ -n "$result" ]; then
|
||||
|
||||
# Fire a Windows toast so the user sees it even if not watching the terminal
|
||||
toast_body=$(echo "$result" | jq -r '[.messages[] | .from_session + ": " + .subject] | join(", ")' | tr -d '\r')
|
||||
notify_ps1=$(cygpath -w "${SCRIPT_DIR}/scripts/notify.ps1" 2>/dev/null || echo "${SCRIPT_DIR}/scripts/notify.ps1" | sed 's|^/\([a-zA-Z]\)/|\1:/|')
|
||||
powershell.exe -NonInteractive -NoProfile -Command \
|
||||
"& 'D:/claudetools/.claude/scripts/notify.ps1' -Title 'ClaudeTools: $count new message(s)' -Message '$toast_body'" \
|
||||
"& '$notify_ps1' -Title 'ClaudeTools: $count new message(s)' -Message '$toast_body'" \
|
||||
>/dev/null 2>&1 &
|
||||
|
||||
# Mark all fetched messages as read immediately
|
||||
|
||||
Reference in New Issue
Block a user