Commit 7c278aa9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play cursor: update to new download scheme

parent b922ac68
#!/bin/sh #!/bin/sh
PKGNAME=cursor PKGNAME=Cursor
SUPPORTEDARCHES="x86_64" SUPPORTEDARCHES="x86_64 aarch64"
VERSION="$2" VERSION="$2"
DESCRIPTION="The AI-first Code Editor" DESCRIPTION="The AI-first Code Editor"
URL="https://cursor.sh/" URL="https://www.cursor.com/"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported warn_version_is_not_supported
PKGURL="https://downloader.cursor.sh/linux/appImage/x64" arch="$(epm print info --arch-arch)"
JSON="https://www.cursor.com/api/download?platform=linux-$arch&releaseTrack=stable"
PKGURL="$(eget -O- "$JSON" | parse_json_value "downloadUrl")"
install_pkgurl install_pkgurl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment