Files
homebrew-cask/Casks/g/gitkraken.rb
2023-11-08 13:55:53 -05:00

40 lines
1.3 KiB
Ruby

cask "gitkraken" do
arch arm: "darwin-arm64", intel: "darwin"
version "9.10.0"
sha256 arm: "2fa0f8d3d548d8a0df7a2d8d0027bdf7753dcc2f25b6cdf3f46dadd96cde0c12",
intel: "910ce263365af43e1e7867465b47749ca202b6aa2c057ce8c78cf8484f6524cb"
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