29 lines
938 B
Ruby
29 lines
938 B
Ruby
cask "mweb-pro" do
|
|
version "4.6.2"
|
|
sha256 "75d8a2bb707a5ff8ff94f5f4582b8de778c2c3394b7a05c0cb0b440976113f32"
|
|
|
|
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
|