cursor 0.12.3

This commit is contained in:
Bevan Kay
2023-10-09 14:38:39 +11:00
parent 5ecf4288b4
commit 39747978e3
+11 -5
View File
@@ -1,11 +1,11 @@
cask "cursor" do
arch arm: "arm64", intel: "x64"
version "0.12.0"
sha256 arm: "de5648399b8036cd7a69178e2c494ac03022907228690dc1eeb36f49c4c69094",
intel: "fe539c33185dc87f61e399f41d8d86afade2431eabcc7fc821e3f8f90f061bf0"
version "0.12.3,231008c5ursm0oj"
sha256 arm: "a674e1d8dfd11ada3405c2bc5f5abc005f545e3a5f6d5c7debca54e4be97b312",
intel: "7ea69c70c294d4af50e33bb5fa8c80774e6aa8c4b4264e6f395fa68d48cb3159"
url "https://download.todesktop.com/230313mzl4w4u92/Cursor%20#{version}-#{arch}-mac.zip",
url "https://download.todesktop.com/230313mzl4w4u92/Cursor%20#{version.csv.first}%20-%20Build%20#{version.csv.second}-#{arch}-mac.zip",
verified: "download.todesktop.com/230313mzl4w4u92/"
name "Cursor"
desc "Write, edit, and chat about your code with AI"
@@ -13,7 +13,13 @@ cask "cursor" do
livecheck do
url "https://download.todesktop.com/230313mzl4w4u92/latest-mac.yml"
strategy :electron_builder
regex(/Build[ ._-]([^-]+)[._-]/i)
strategy :electron_builder do |item, regex|
build = item["files"].first["url"][regex, 1]
next if build.blank?
"#{item["version"]},#{build}"
end
end
auto_updates true