mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Merge pull request #161105 from ajzeigert/add-codewhisperer
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
cask "codewhisperer" do
|
||||
version "0.12.0"
|
||||
sha256 "705ecf656209689184c4d66072cc147b965838bb3f57c3b10c8b5c442b1421b3"
|
||||
|
||||
url "https://desktop-release.codewhisperer.us-east-1.amazonaws.com/#{version}/CodeWhisperer.dmg",
|
||||
verified: "desktop-release.codewhisperer.us-east-1.amazonaws.com/"
|
||||
name "CodeWhisperer for Command Line"
|
||||
desc "AI-powered productivity tool for the command-line"
|
||||
homepage "https://aws.amazon.com/codewhisperer/"
|
||||
|
||||
livecheck do
|
||||
url "https://desktop-release.codewhisperer.us-east-1.amazonaws.com/index.json"
|
||||
strategy :json do |json|
|
||||
json["versions"].map { |item| item["version"] }
|
||||
end
|
||||
end
|
||||
|
||||
auto_updates true
|
||||
depends_on macos: ">= :high_sierra"
|
||||
|
||||
app "CodeWhisperer.app"
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Application Support/codewhisperer",
|
||||
"~/Library/Caches/com.amazon.codewhisperer",
|
||||
"~/Library/LaunchAgents/com.amazon.codewhisperer.launcher.plist",
|
||||
"~/Library/Preferences/com.amazon.codewhisperer.plist",
|
||||
"~/Library/WebKit/com.amazon.codewhisperer",
|
||||
]
|
||||
end
|
||||
Reference in New Issue
Block a user