cask "gitkraken" do arch arm: "arm64", intel: "x64" livecheck_arch = on_arch_conditional arm: "-arm64" version "11.2.0" sha256 arm: "add4af83396f8bda083f93797384897ae19015f80c91fc4b0d866ec85397f50d", intel: "00a9f4ac53a4fa40fea55f4299d0871d10f9e7bb39da64349779b7cb8d4f001c" url "https://api.gitkraken.dev/releases/production/darwin/#{arch}/#{version}/GitKraken-v#{version}.zip", verified: "api.gitkraken.dev/releases/production/" name "GitKraken" desc "Git client focusing on productivity" homepage "https://www.gitkraken.com/" livecheck do url "https://release.gitkraken.com/darwin#{livecheck_arch}/RELEASES?v=0.0.0&darwin=999" strategy :json do |json| json["name"] end end auto_updates true conflicts_with cask: "gitkraken-on-premise-serverless" 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