The automatic updates of the PKGBUILD are back to working again, but the situation is less than ideal. The problem is that Cursor have changed their distribution method. They publish their releases on S3 now, before they were using todesktop.com. Currently I infer the most version download link from this api: https://api2.cursor.sh/updates/api/update/darwin-x64/cursor/0.0.0/ As you may notice this is for the macos version and not linux (source: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/c/cursor.rb). The reason is simply that I do not know the api endpoint for getting the linux version (I tried the most obvious variants). This is a terrible workaround, but is the best I can do right now and may break any time the releases for macos and linux get out of sync for any reason.
If anyone can figure out a reliable check for the most recent cursor release for linux I will be happy to integrate that.
Btw, getting the most recent release via their homepage is not a solution. They do staggered releases so this version will be different for everyone downloading from there and is not a reliable source to query for the most recent release.
Pinned Comments
g.schulz commented on 2025-05-17 08:01 (UTC) (edited on 2025-05-18 10:16 (UTC) by g.schulz)
For anyone who want's to contribute a PR, this is the repo: https://github.com/Gunther-Schulz/aur-cursor-bin-updater