mirror of
https://github.com/jarrodwatts/claude-hud.git
synced 2026-05-21 15:52:37 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user