cask "inkdrop" do arch arm: "arm64", intel: "x64" version "5.8.1" sha256 arm: "356ff049b3c0eb0686d54ee1e15cb345cafe69777f74f0cd7d9c08f97f9d39bd", intel: "89ed1418a1881404c90af5016720c5424f1531994109c7ce4c819968a3e7d1bb" url "https://d3ip0rje8grhnl.cloudfront.net/v#{version}/Inkdrop-#{version}-#{arch}-Mac.zip", verified: "d3ip0rje8grhnl.cloudfront.net/" name "Inkdrop" desc "Markdown editor" homepage "https://www.inkdrop.info/" livecheck do url "https://api.inkdrop.app/update/links" strategy :json do |json| json["version"] end end depends_on macos: ">= :high_sierra" app "Inkdrop.app" zap trash: [ "~/Library/Application Support/inkdrop", "~/Library/Caches/info.pkpk.inkdrop", "~/Library/Preferences/info.pkpk.inkdrop.helper.plist", "~/Library/Preferences/info.pkpk.inkdrop.plist", "~/Library/Saved Application State/info.pkpk.inkdrop.savedState", ] end