Merge pull request #198803 from Homebrew/bump-wizcli-0.69.0
[Homebrew/homebrew-cask.git] / Casks / a / aliwangwang.rb
blobb4333cdbcbdaf0a62233113db156edbfea4da3f0
1 cask "aliwangwang" do
2   version "10.01.06M"
3   sha256 "9957c3b7bdd031868af0187c0cb912f4c926f82221bbe34fb05f6eb1396fa5b0"
5   url "https://download.alicdn.com/wangwang/AliWangWang_(#{version}).dmg",
6       verified: "download.alicdn.com/wangwang/"
7   name "AliWangwang"
8   name "阿里旺旺"
9   desc "Shopping communication tool for Taobao and Tmall users"
10   homepage "https://pages.tmall.com/wow/qnww/act/index"
12   livecheck do
13     url "https://g.alicdn.com/im/ww-home/0.0.10/detail.min.js"
14     regex(/AliWangWang[._-]v?\((\d+(?:\.\d+)+\w+)\)\.dmg/i)
15   end
17   auto_updates true
18   depends_on macos: ">= :high_sierra"
20   app "AliWangwang.app"
22   zap trash: [
23     "~/Library/Application Support/AliWangwang",
24     "~/Library/Caches/com.taobao.Aliwangwang",
25     "~/Library/HTTPStorages/com.taobao.Aliwangwang",
26     "~/Library/HTTPStorages/com.taobao.Aliwangwang.binarycookies",
27     "~/Library/Preferences/com.taobao.Aliwangwang.plist",
28     "~/Library/Saved Application State/com.taobao.Aliwangwang.savedState",
29     "~/Library/WebKit/com.taobao.Aliwangwang",
30   ]
32   caveats do
33     requires_rosetta
34   end
35 end