cask "datovka" do arch arm: "arm64-macos13.3", intel: "64bit-macos10.12" version "4.24.2" sha256 arm: "94d89c2cde3af843893d81fadf536205c027cd86d02a66643327aed32c8073d0", intel: "800d9473841f866dc9014759f2c5625190cb9224366e45b9cd4e5edb85434b9b" url "https://datovka.nic.cz/#{version}/datovka-#{version}-#{arch}.dmg", verified: "datovka.nic.cz/" name "Datovka" desc "Access and store data messages in a local database" homepage "https://www.datovka.cz/" livecheck do url "https://www.datovka.cz/cs/pages/instalace.html" regex(%r{href=.*?/datovka[._-](\d+(?:\.\d+)+)[._-]#{arch}\.dmg}i) end app "datovka.app" zap trash: "~/Library/Saved Application State/cz.nic.datovka.savedState" end