1 cask "wechatwebdevtools" do
2 arch arm: "arm64", intel: "x64"
5 sha256 arm: "04ee698d98487361c2c9036015b871adc035a7f1e674e389ad3fd7e4149d96c7",
6 intel: "b3de338aace8b9d77c7bc355b0274e1034751424beb76772395dc8ff3ebd0140"
8 url "https://dldir1.qq.com/WechatWebDev/release/be1ec64cf6184b0fa64091919793f068/wechat_devtools_#{version}_darwin_#{arch}.dmg"
11 desc "Wechat DevTools for Official Account and Mini Program development"
12 homepage "https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html"
15 url "https://developers.weixin.qq.com/miniprogram/dev/devtools/stable.html"
16 regex(/a>\s(\d(?:\.\d+)+)\s</i)
21 app "wechatwebdevtools.app"
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",