27 lines
1.1 KiB
Ruby
27 lines
1.1 KiB
Ruby
cask 'marked' do
|
|
version '2.5.31971'
|
|
sha256 'f8d067e122a9b3fb9d8244f63b5b137e17f6b43c48ceaf8597b7490f1ce4e034'
|
|
|
|
url "https://updates.marked2app.com/Marked#{version}.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
|