We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6a3de1 commit c9efadbCopy full SHA for c9efadb
1 file changed
cursor.sh
@@ -102,7 +102,7 @@ function get_download_info() {
102
local api_url="https://www.cursor.com/api/download?platform=linux-$(get_arch)&releaseTrack=$release_track"
103
104
echo "Fetching download info for $release_track track..."
105
- if ! curl -s "$api_url" -o "$temp_file"; then
+ if ! curl -sL "$api_url" -o "$temp_file"; then
106
rm -f "$temp_file"
107
get_fallback_download_info "curl failed on $api_url"
108
return 1
0 commit comments