777genius/claude-notifications-go

Windows: no windows-amd64 binary shipped (Windows notifier code exists but never built/attached)

開放

#108 建立於 2026年7月10日

 (1 則留言) (0 個反應) (0 位負責人)Go (100 個分叉)auto 404
buggood first issuewindows

倉庫指標

星標
 (759 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Problem

No Windows binary ships, so the plugin can't run on Windows even though the Windows notification code exists.

Detail

  • The repo has full Windows support in source: internal/notifier/bell_windows.go, focus_windows.go, terminal_windows.go (go-toast + beeep).
  • bin/hook-wrapper.sh has detect_windows_binary() looking for bin/claude-notifications-windows-<arch>.exe.
  • But bin/ only contains the darwin symlink (claude-notifications -> claude-notifications-darwin-arm64); no claude-notifications-windows-amd64.exe is committed or attached to any release.
  • Result: on Windows the wrapper finds no binary and the hooks no-op.

Building locally works: CGO_ENABLED=1 CC=<mingw-gcc> GOOS=windows GOARCH=amd64 go build -o bin/claude-notifications-windows-amd64.exe ./cmd/claude-notifications produces a working exe (malgo/CGO needs a mingw toolchain, not MSVC clang).

Suggestion

Attach claude-notifications-windows-amd64.exe to releases (the release.yml matrix already builds it with CGO_ENABLED: '1' on windows-latest) — or document the local build step for Windows users.

Env

Windows 11, Go 1.26.5, plugin v1.40.0

Thanks for the great work on claude-notifications-go!

貢獻者指南