homebrew-cask/Casks/g/gitkraken.rb

40 lines
1.3 KiB
Ruby

cask "gitkraken" do
arch arm: "darwin-arm64", intel: "darwin"
version "9.13.0"
sha256 arm: "60a42dd3f127f16561d0cf8c9e774a275066ee2112c218a739b03254695266cb",
intel: "bc56fba77dcf4005164e4de928d01c746f9c3db098aac3d96b4aee821639039f"
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",
"~/Library/Caches/com.axosoft.gitkraken.ShipIt",
"~/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