cask "marked" do version "2.6.2,1010" sha256 "ad1e0e443208001fe6624ba7221a4e06f49d3da11b5776db6cd624180fafaa3c" url "https://updates.marked2app.com/Marked#{version.before_comma}#{version.after_comma}.zip" appcast "https://updates.marked2app.com/marked.xml" name "Marked" desc "Previewer for Markdown, MultiMarkdown and other text markup languages" homepage "https://marked2app.com/" auto_updates true depends_on macos: ">= :yosemite" app "Marked #{version.major}.app" uninstall quit: "com.brettterpstra.marked#{version.major}" zap trash: [ "~/Library/Application Support/Marked #{version.major}", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.brettterpstra.marked#{version.major}.sfl*", "~/Library/Caches/Marked #{version.major}", "~/Library/Caches/com.brettterpstra.marked#{version.major}", "~/Library/Logs/Marked #{version.major}", "~/Library/Preferences/com.brettterpstra.marked#{version.major}.plist", "~/Library/Saved Application State/com.brettterpstra.marked#{version.major}.savedState", ] end