homebrew-cask/Casks/gitkraken.rb

40 lines
1.3 KiB
Ruby

cask "gitkraken" do
arch arm: "darwin-arm64", intel: "darwin"
version "9.2.1"
sha256 arm: "8a3e1e60a757bce62a87fc9dcd810392878450b9d07e01120a0015d5f1eaac68",
intel: "e9039e53b1f3be42b3f29e3942d69db64d2dc47abe19f1d2e04c1904bb41a0c4"
url "https://release.axocdn.com/#{arch}/GitKraken-v#{version}.zip",
verified: "release.axocdn.com/"
name "GitKraken"
desc "Git client focusing on productivity"
homepage "https://www.gitkraken.com/"
livecheck do
url "https://help.gitkraken.com/gitkraken-client/current/"
regex(/Version\s(\d+(?:\.\d+)+)/i)
end
auto_updates true
depends_on macos: ">= :el_capitan"
app "GitKraken.app"
uninstall quit: "com.axosoft.gitkraken"
zap trash: [
"~/.gitkraken",
"~/Library/Application Support/com.axosoft.gitkraken.ShipIt",
"~/Library/Application Support/GitKraken",
"~/Library/Caches/com.axosoft.gitkraken.ShipIt",
"~/Library/Caches/com.axosoft.gitkraken",
"~/Library/Caches/GitKraken",
"~/Library/Cookies/com.axosoft.gitkraken.binarycookies",
"~/Library/HTTPStorages/com.axosoft.gitkraken",
"~/Library/Preferences/com.axosoft.gitkraken.helper.plist",
"~/Library/Preferences/com.axosoft.gitkraken.plist",
"~/Library/Saved Application State/com.axosoft.gitkraken.savedState",
]
end