32 lines
1.1 KiB
Ruby
32 lines
1.1 KiB
Ruby
cask "marked" do
|
|
version "2.6.22,1040"
|
|
sha256 "4e542c9ce220d7d035e07ece88d3fe604f7b5a7e444f33b381997037b3d593c1"
|
|
|
|
url "https://updates.marked2app.com/Marked#{version.csv.first}#{version.csv.second}.dmg"
|
|
name "Marked"
|
|
desc "Previewer for Markdown, MultiMarkdown and other text markup languages"
|
|
homepage "https://marked2app.com/"
|
|
|
|
livecheck do
|
|
url "https://updates.marked2app.com/marked.xml"
|
|
strategy :sparkle
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :sierra"
|
|
|
|
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
|