homebrew-cask/Casks/marked.rb

27 lines
1.0 KiB
Ruby

cask "marked" do
version "2.5.43,990"
sha256 "de6c0ca79ad9dce7d677f6a35bfd39c8e623cd10b874217c936b88ea06c95acc"
url "https://updates.marked2app.com/Marked#{version.before_comma}#{version.after_comma}.zip"
appcast "https://updates.marked2app.com/marked.xml"
name "Marked"
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