2018-06-14 12:55:35 +08:00
|
|
|
cask 'wechat' do
|
2018-08-29 04:41:53 +08:00
|
|
|
version '2.3.18.19'
|
|
|
|
sha256 '94277bacdb2163ab8e41978c85464b4495cba5b1c11f631727381356178ccee6'
|
2018-06-14 12:55:35 +08:00
|
|
|
|
2018-07-12 16:25:07 +08:00
|
|
|
url "https://dldir1.qq.com/weixin/mac/WeChat_#{version}.dmg"
|
2018-06-14 12:55:35 +08:00
|
|
|
name 'WeChat for Mac'
|
|
|
|
name '微信 Mac 版'
|
|
|
|
homepage 'https://mac.weixin.qq.com/'
|
|
|
|
|
2018-08-16 00:15:16 +08:00
|
|
|
auto_updates true
|
2018-06-14 12:55:35 +08:00
|
|
|
depends_on macos: '>= :yosemite'
|
|
|
|
|
|
|
|
app 'WeChat.app'
|
2018-08-24 00:39:55 +08:00
|
|
|
|
|
|
|
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',
|
|
|
|
]
|
2018-06-14 12:55:35 +08:00
|
|
|
end
|