2018-06-14 12:55:35 +08:00
|
|
|
cask 'wechat' do
|
2019-01-27 11:06:37 +08:00
|
|
|
version '2.3.23.17_1548069461'
|
|
|
|
sha256 '64aa3cea43988c672a36bc31f1788e9454761d97c6da0a27ad1ceafb03613c96'
|
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-11-12 23:02:50 +08:00
|
|
|
appcast 'https://dldir1.qq.com/weixin/mac/mac-release.xml'
|
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
|