homebrew-cask/Casks/m/markedit.rb

28 lines
906 B
Ruby

cask "markedit" do
version "1.17.0"
sha256 "5715bf239638bb7aa0c648721d8543f53039ac7178ceac3b8258e9844757991f"
url "https://github.com/MarkEdit-app/MarkEdit/releases/download/v#{version}/MarkEdit-#{version}.dmg"
name "MarkEdit"
desc "Markdown editor"
homepage "https://github.com/MarkEdit-app/MarkEdit"
livecheck do
url :url
strategy :github_latest
end
depends_on macos: ">= :ventura"
app "MarkEdit.app"
zap trash: [
"~/Library/Application Scripts/app.cyan.markedit",
"~/Library/Application Scripts/app.cyan.markedit.preview-extension",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/app.cyan.markedit.sfl*",
"~/Library/Containers/app.cyan.markedit",
"~/Library/Containers/app.cyan.markedit.preview-extension",
"~/Library/Saved Application State/app.cyan.markedit.savedState",
]
end