cask "camunda-modeler" do arch arm: "arm64", intel: "x64" version "5.29.0" sha256 arm: "0aea3468b813f52df2e6093d7654b65095763c53772ca162c28b067b9e395082", intel: "2bfcd2087745cbbad1f4610acd419c6322a59a0fb5fdc5ff6a2116edf10222f8" url "https://downloads.camunda.cloud/release/camunda-modeler/#{version}/camunda-modeler-#{version}-mac-#{arch}.zip", verified: "downloads.camunda.cloud/release/camunda-modeler/" name "Camunda Modeler" desc "Workflow and Decision Automation Platform" homepage "https://camunda.com/" livecheck do url "https://camunda.com/download/modeler/" regex(%r{href=.*?/camunda[._-]modeler[._-]v?(\d+(?:\.\d+)+)[._-]mac[._-]#{arch}\.zip}i) end depends_on macos: ">= :catalina" app "Camunda Modeler.app" zap trash: [ "~/Library/Application Support/camunda-modeler", "~/Library/Logs/Camunda Modeler", "~/Library/Preferences/com.camunda.CamundaModeler.plist", "~/Library/Saved Application State/com.camunda.CamundaModeler.savedState", ] end