cask "maxink" do version "0.12.0" sha256 "37814f40e678f81d32505ecebba4f88682c78f749d8c35db684d177de108e04d" url "https://runxun.com/downloads/maxink/MaxInk_#{version}_universal.dmg" name "MaxInk" desc "Lightweight native Markdown reader and editor for macOS" homepage "https://runxun.com/ai/tools/maxink" livecheck do url "https://runxun.com/downloads/maxink/latest.json" strategy :json do |json| json["version"] end end auto_updates true depends_on macos: ">= :catalina" app "MaxInk.app" zap trash: [ "~/Library/Application Support/ai.maxta.maxink", "~/Library/Caches/ai.maxta.maxink", "~/Library/Preferences/ai.maxta.maxink.plist", "~/Library/Saved Application State/ai.maxta.maxink.savedState", ] end