Today, we check the REST API for the appropriate release (via /repos/facebook/dotslash/releases/latest), but then we hand-construct the asset download URL. Instead, we should get the list of assets from the REST API and use the browser_download_url to obtain it after picking the correct one.
Today, we check the REST API for the appropriate release (via
/repos/facebook/dotslash/releases/latest), but then we hand-construct the asset download URL. Instead, we should get the list of assets from the REST API and use thebrowser_download_urlto obtain it after picking the correct one.