cask "querious" do version "4.0.15" sha256 "429cc619d70af901e6da7213aea75838bc895b91ee77cc2386328bfb755f32ab" url "https://www.araelium.com/querious/downloads/versions/Querious#{version}.zip" name "Querious #{version.major}" desc "MySQL and compatible databases tool" homepage "https://www.araelium.com/querious/" livecheck do url "https://arweb-assets.s3.amazonaws.com/downloads/querious/updates.json" strategy :json do |json| json["release"]&.map { |release| release["version"] } end end auto_updates true depends_on macos: ">= :big_sur" app "Querious.app" zap trash: [ "~/Library/Application Support/Querious", "~/Library/Caches/com.apple.helpd/Generated/com.araeliumgroup.querious.help*", "~/Library/Caches/com.araeliumgroup.querious", "~/Library/HTTPStorages/com.araeliumgroup.querious", "~/Library/Logs/Querious.log", "~/Library/Preferences/com.araeliumgroup.querious.plist", "~/Library/Saved Application State/com.araeliumgroup.querious.savedState", ] end