1 cask "mini-program-studio" do
2 arch arm: "-arm64", intel: "-x64"
5 sha256 arm: "7c57dc47d09c388bb278fcd5f1d0a6f9194653eb2a30771a84c0b7176b0e91f1",
6 intel: "160637d7dacb1a6d7238c01350e0d429eae3d954b2e4d5dd3f0e3979fc2df612"
8 url "https://alipay-miniapp-public.oss-cn-hangzhou.aliyuncs.com/mfupload/MiniProgramStudio-#{version}#{arch}.dmg",
9 verified: "alipay-miniapp-public.oss-cn-hangzhou.aliyuncs.com/mfupload/"
10 name "Mini Program Studio"
12 desc "IDE for the development of Alipay applets"
13 homepage "https://opendocs.alipay.com/mini/ide"
15 # The download page (https://opendocs.alipay.com/mini/ide/download) is
16 # rendered using JavaScript. The URL below returns JSON data that contains
17 # the HTML for the release information, so we can match within that.
19 url "https://opendocs.alipay.com/api/content/006l6m"
20 regex(/MiniProgramStudio[._-](\d+(?:\.\d+)*)/i)
26 "~/Library/Application Support/小程序开发者工具",
27 "~/Library/Preferences/com.ant.miniprogram.plist",
28 "~/Library/Saved Application State/com.ant.miniprogram.savedState",