cask "apidog-europe" do arch arm: "-macOS-arm64" livecheck_folder = on_arch_conditional arm: "-arm64" version "2.6.31" sha256 arm: "d36fa2971a2ab1d20bdd2e1d81fc8364894b1d847d94ffdb1d3b83e81d040df5", intel: "c3dd7225ef71dedb3f7be76623ea0a5cdef0e9a0cbe9f8cdccd2ef6545d907a7" url "https://file-assets.eu.apidog.com/download/#{version}/Apidog%20Europe#{arch}-#{version}.dmg" name "Apidog Europe" desc "API development platform hosted in Europe" homepage "https://apidog.com/" livecheck do url "https://api.eu.apidog.com/api/v1/configs/client-updates/latest/mac#{livecheck_folder}/latest-mac.yml" strategy :electron_builder end auto_updates true depends_on macos: ">= :el_capitan" app "Apidog Europe.app" zap trash: [ "~/Library/Application Support/apidog-eu", "~/Library/Preferences/com.apidog.eu.app.plist", "~/Library/Saved Application State/com.apidog.eu.app.savedState", ] end