cask "maxink" do version "0.14.1" sha256 "adf2564367be1df402c8db8751612593f71e78757d4440f36c0bbf8905f3e6ec" 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