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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
This PR fixes an issue where the
install.shscript 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_urlfor the executable, ensuring the script successfully downloads the actual artifact.Manual Verification Checklist
install.shqueries the API instead of downloading a fixed URL.curl -sL https://git.rootiest.dev/rootiest/icon-color-tool/raw/branch/fix-installer-url/install.sh | bashlocally to verify the one-liner now properly acquires the binary.