mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
29 lines
938 B
Ruby
29 lines
938 B
Ruby
cask "mweb-pro" do
|
|
version "4.5.1"
|
|
sha256 "dad8030b9d1b4eba835eab147e71c7dd775e2a15fb05582c26a8eaff3accae21"
|
|
|
|
url "https://cdn.mwebapp.cn/MWebPro#{version.no_dots}.dmg",
|
|
verified: "cdn.mwebapp.cn/"
|
|
name "MWeb Pro"
|
|
desc "Markdown writing, note taking, and static blog generator app"
|
|
homepage "https://www.mweb.im/"
|
|
|
|
livecheck do
|
|
url "https://www.mweb.im/update_v4.json"
|
|
regex(/"version":"(\d+(?:\.\d+)+)"/i)
|
|
end
|
|
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
app "MWeb Pro.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Scripts/com.coderforart.MWeb3",
|
|
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.coderforart.mweb3.sfl*",
|
|
"~/Library/Application Support/MWeb",
|
|
"~/Library/Containers/com.coderforart.MWeb3",
|
|
"~/Library/Cookies/com.coderforart.MWeb3.binarycookies",
|
|
"~/Library/Preferences/com.coderforart.MWeb3.plist",
|
|
]
|
|
end
|