Skip to content

fix(install): prevent 404 text overwrite and add CLI flags - #2

Merged
Chintanpatel24 merged 1 commit into
mainfrom
fix/install-and-cli-flags
Sep 9, 2026
Merged

Chintanpatel24 merged 1 commit into
mainfrom
fix/install-and-cli-flags

Conversation

@Chintanpatel24

Copy link
Copy Markdown
Member

Summary

  • Fix install.sh: Uses curl -sSfL and ELF binary validation to prevent 404 text ('Not Found') from overwriting the binary file when a pre-built GitHub release does not yet exist.
  • Cargo Fallback: If pre-built binaries are not available, install.sh automatically compiles and installs from source via cargo install.
  • CLI Flags: Added -h/--help and -v/--version argument handling in src/main.rs.

- Use curl fail flag and ELF binary verification before placing binary
- Fall back to cargo install from source if GitHub release is not yet published
- Add --help and --version CLI flag handling in main.rs
Copilot AI lite review requested due to automatic review settings September 9, 2026 19:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Chintanpatel24
Chintanpatel24 merged commit 61778a7 into main Sep 9, 2026
1 check passed
@Chintanpatel24
Chintanpatel24 deleted the fix/install-and-cli-flags branch September 9, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants