-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |