Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cursor.app v0.1.3 from https://www.cursor.so/ #143635

Merged
merged 10 commits into from
Mar 30, 2023
Merged
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