excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / w / wechat.rb
bloba4b43b9a64dc6af26f7840215d704981ff46d532
1 cask "wechat" do
2   version "3.8.9.17"
3   sha256 :no_check
5   url "https://dldir1.qq.com/weixin/mac/WeChatMac.dmg"
6   name "WeChat for Mac"
7   name "微信 Mac 版"
8   desc "Free messaging and calling application"
9   homepage "https://mac.weixin.qq.com/"
11   # This appcast is slower to update than the submissions we get. See:
12   #   https://github.com/Homebrew/homebrew-cask/pull/90907#issuecomment-710107547
13   livecheck do
14     url "https://dldir1.qq.com/weixin/mac/mac-release.xml"
15     strategy :sparkle, &:short_version
16   end
18   auto_updates true
19   depends_on macos: ">= :high_sierra"
21   app "WeChat.app"
23   uninstall quit: "com.tencent.xinWeChat"
25   zap trash: [
26     "~/Library/Application Scripts/$(TeamIdentifierPrefix)com.tencent.xinWeChat",
27     "~/Library/Application Scripts/$(TeamIdentifierPrefix)com.tencent.xinWeChat.IPCHelper",
28     "~/Library/Application Scripts/com.tencent.xinWeChat",
29     "~/Library/Application Scripts/com.tencent.xinWeChat.MiniProgram",
30     "~/Library/Application Scripts/com.tencent.xinWeChat.WeChatMacShare",
31     "~/Library/Caches/com.tencent.xinWeChat",
32     "~/Library/Containers/$(TeamIdentifierPrefix)com.tencent.xinWeChat.IPCHelper",
33     "~/Library/Containers/com.tencent.xinWeChat",
34     "~/Library/Containers/com.tencent.xinWeChat.MiniProgram",
35     "~/Library/Containers/com.tencent.xinWeChat.WeChatMacShare",
36     "~/Library/Cookies/com.tencent.xinWeChat.binarycookies",
37     "~/Library/Group Containers/$(TeamIdentifierPrefix)com.tencent.xinWeChat",
38     "~/Library/Preferences/com.tencent.xinWeChat.plist",
39     "~/Library/Saved Application State/com.tencent.xinWeChat.savedState",
40   ]
41 end