Skip to content

Commit

Permalink
Add Cursor 0.1.3 (#143635)
Browse files Browse the repository at this point in the history
  • Loading branch information
adzcai authored Mar 30, 2023
1 parent 31a4315 commit 44b5b87
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions Casks/cursor.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
cask "cursor" do
version "0.1.11"
sha256 :no_check

url "https://dl.todesktop.com/230313mzl4w4u92/mac/installer/universal",
verified: "dl.todesktop.com/230313mzl4w4u92/mac/installer/"
name "Cursor"
desc "Write, edit, and chat about your code with AI"
homepage "https://www.cursor.so/"

livecheck do
url "https://raw.githubusercontent.com/getcursor/cursor/main/package.json"
strategy :json do |json|
json["version"]
end
end

depends_on macos: ">= :catalina"

installer script: "Install Cursor.app/Contents/MacOS/ToDesktop Installer"

uninstall quit: "com.todesktop.230313mzl4w4u92",
delete: "/Applications/Cursor.app"

zap trash: [
"~/cursor-tutor",
"~/Library/Application Support/Cursor",
"~/Library/Logs/Cursor",
"~/Library/Preferences/com.todesktop.*",
"~/Library/Saved Application State/todesktop.com.ToDesktop-Installer.savedState",
]
end

0 comments on commit 44b5b87

Please sign in to comment.