24 lines
695 B
Ruby
24 lines
695 B
Ruby
cask 'wechat' do
|
|
version '2.3.25.21'
|
|
sha256 'de2413ca07ff6afb4d37f6b8c0f2a4e6b2209b8175595bd09f008103755ae938'
|
|
|
|
url 'https://dldir1.qq.com/weixin/mac/WeChatMac.dmg'
|
|
appcast 'https://dldir1.qq.com/weixin/mac/mac-release.xml'
|
|
name 'WeChat for Mac'
|
|
name '微信 Mac 版'
|
|
homepage 'https://mac.weixin.qq.com/'
|
|
|
|
auto_updates true
|
|
depends_on macos: '>= :yosemite'
|
|
|
|
app 'WeChat.app'
|
|
|
|
uninstall quit: 'com.tencent.xinWeChat'
|
|
|
|
zap trash: [
|
|
'~/Library/Application Scripts/com.tencent.xinWeChat',
|
|
'~/Library/Containers/com.tencent.xinWeChat',
|
|
'~/Library/Group Containers/$(TeamIdentifierPrefix)com.tencent.xinWeChat',
|
|
]
|
|
end
|