Files
homebrew-cask/Casks/w/weiyun.rb
2023-12-05 04:56:12 -05:00

25 lines
765 B
Ruby

cask "weiyun" do
version "5.2.1397"
sha256 "8ab47141ab3aa94f6c13ae58e3b45c517fbe3151cb3bdc95fc5142b2371cd7d8"
url "https://dldir1.qq.com/weiyun/electron-update/release/mac/Weiyun-mac-x64-#{version}.dmg",
verified: "dldir1.qq.com/weiyun/"
name "Weiyun"
desc "Document backup and online management"
homepage "https://www.weiyun.com/"
livecheck do
url "https://jsonschema.qpic.cn/2993ffb0f5d89de287319113301f3fca/179b0d35c9b088e5e72862a680864254/config"
regex(/Weiyun[._-]mac[._-]x64[._-]v?(\d+(?:\.\d+)+)\.dmg/i)
end
app "Weiyun.app"
uninstall quit: "com.tencent.MacWeiyun"
zap trash: [
"~/Library/Preferences/com.tencent.MacWeiyun.plist",
"~/Library/Saved Application State/com.tencent.MacWeiyun.savedState",
]
end