Add Cursor 0.1.3 (#143635)

This commit is contained in:
Alexander Cai
2023-03-30 22:45:53 +00:00
committed by GitHub
parent 31a4315cbd
commit 44b5b87530
+32
View File
@@ -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