excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / w / wechatwebdevtools.rb
blob0f61324e0e40ad5c9f3a278c9d93c1ca5cfbe8ec
1 cask "wechatwebdevtools" do
2   arch arm: "arm64", intel: "x64"
4   version "1.06.2409140"
5   sha256 arm:   "c7f256517c7ced36d5904323cd352e9c1cf795a1585976dd986872c0f70c40c2",
6          intel: "7cd7b815b83cc0f6d3ea32b7dcaa1717ff519c112eef0aff46b7417546ca54a8"
8   url "https://dldir1.qq.com/WechatWebDev/release/be1ec64cf6184b0fa64091919793f068/wechat_devtools_#{version}_darwin_#{arch}.dmg"
9   name "Wechat DevTools"
10   name "微信开发者工具"
11   desc "Wechat DevTools for Official Account and Mini Program development"
12   homepage "https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html"
14   livecheck do
15     url "https://developers.weixin.qq.com/miniprogram/dev/devtools/stable.html"
16     regex(/a>\s(\d(?:\.\d+)+)\s</i)
17   end
19   auto_updates true
21   app "wechatwebdevtools.app"
23   zap trash: [
24     "~/Library/Application Support/微信开发者工具",
25     "~/Library/Caches/微信开发者工具",
26     "~/Library/Preferences/com.tencent.webplusdevtools.plist",
27     "~/Library/Preferences/com.tencent.wechat.devtools.plist",
28     "~/Library/Saved Application State/com.tencent.wechat.devtools.savedState",
29   ]
30 end