fix: use gh api for starring (more compatible)

gh repo star doesn't exist in all gh versions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Jarrod Watts
2026-01-03 23:58:16 +11:00
parent 798eabdac7
commit eaef8dd9a0

View File

@@ -22,6 +22,6 @@ The HUD appears immediately - no restart needed. Updates are automatic.
After successful setup, ask the user if they'd like to star the repository to support the project.
If they agree, run: `gh repo star jarrodwatts/claude-hud`
If they agree, run: `gh api -X PUT /user/starred/jarrodwatts/claude-hud`
Only run the star command if they explicitly say yes.