Hi! I’d like to suggest an improvement to how the itch.io app handles external download links.
Several players have reported installation errors when selecting an external link on my game’s page. Another player reported this today, sharing the attached screenshots and asking whether the problem was with the game or the itch.io app.
The error shown is:
runtime error: slice bounds out of range [:-1]

This happens when a player selects an external link that leads to a web page, rather than a downloadable file. In this case, the option directs users to the download section of my website, where they can access the early access version:
https://bootyhunter.alley-games.com/#download
The app appears to try to process this page as an installable download, which results in the error.
However, other external links on the same project resolve to actual downloadable files and already work correctly. For example:
https://bootyhunter.alley-games.com/downloads/release/latest/pc/sd
My suggestion is for the app to distinguish between these destinations:
- If the external link leads to a web page: open it in the user’s default browser, in a new tab.
- If the external link resolves to a downloadable file: keep the current download and installation behavior, including support for redirects.
Ideally, this distinction would consider the final response after redirects, since a working file download link may not include a file extension in its URL.
This would prevent confusing installation errors and help users understand when they need to continue on the developer’s website, while preserving external file downloads that already work correctly.
I’ve attached a screenshot of the error for reference.