cask "maxink" do version "0.14.0" sha256 "ab0b256f1d3875570b5f6e8a94ccf966e63126e114d8306dac158b2c54cfeee6" 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