This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Ensure jq is installed | |
if ! command -v jq &> /dev/null; then | |
echo "jq is required but not installed. Please install jq (e.g., 'brew install jq') and retry." | |
exit 1 | |
fi | |
# Set API URL for GitHub releases | |
API_URL="https://api.github.com/repos/posit-dev/positron/releases" |