fix: dynamically resolve release download URL via API #3

Merged
rootiest merged 1 commits from fix-installer-url into main 2026-08-06 04:05:13 +00:00
Owner

Summary

This PR fixes an issue where the install.sh script attempted to download a hardcoded, invalid path for the latest release binary on Gitea.
It has been updated to dynamically query the Gitea API for the repository's latest release and extracts the correct browser_download_url for the executable, ensuring the script successfully downloads the actual artifact.

Manual Verification Checklist

  • Ensure install.sh queries the API instead of downloading a fixed URL.
  • Run curl -sL https://git.rootiest.dev/rootiest/icon-color-tool/raw/branch/fix-installer-url/install.sh | bash locally to verify the one-liner now properly acquires the binary.
### Summary This PR fixes an issue where the `install.sh` script attempted to download a hardcoded, invalid path for the latest release binary on Gitea. It has been updated to dynamically query the Gitea API for the repository's latest release and extracts the correct `browser_download_url` for the executable, ensuring the script successfully downloads the actual artifact. ### Manual Verification Checklist - [x] Ensure `install.sh` queries the API instead of downloading a fixed URL. - [x] Run `curl -sL https://git.rootiest.dev/rootiest/icon-color-tool/raw/branch/fix-installer-url/install.sh | bash` locally to verify the one-liner now properly acquires the binary.
rootiest added 1 commit 2026-08-06 04:03:49 +00:00
rootiest merged commit 960c729aed into main 2026-08-06 04:05:13 +00:00
rootiest deleted branch fix-installer-url 2026-08-06 04:05:15 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rootiest/icon-color-tool#3