cask "maxink" do version "0.14.8" sha256 "d4a2ec670c36c16fe3b674b123b6631d8c16c6f9e3b5d46aeb30823278944c44" 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