Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The existing `livecheck` block for `caido` only contains a URL for the GitHub repository, so it checks the repository's Git tags. However, the cask `url` is a first-party asset from caido.download, so the check doesn't closely align with the cask `url` source. [The GitHub release descriptions contain links to the caido.download files but this `livecheck` block simply checks the Git tags.] The existing check technically works but we can update it to better align with the cask `url` source. The first-party download page has buttons to download the desktop app and this triggers an API request that returns JSON information about the latest release. This updates the `livecheck` block to check that URL and use the `version` field from the JSON response.
- Loading branch information