1 cask "zoom-m3-edit-and-play" do
3 sha256 "babd77d9864ac67233fcfb1f3324067fc455048dce529419f119a2803af9d448"
5 url "https://zoomcorp.com/documents/#{version.csv.second}/M3_Edit__Play_Mac_v#{version.csv.first}_E.zip"
6 name "ZOOM M3 Edit & Play"
7 desc "Software for ZOOM M3 MicTrak"
8 homepage "https://zoomcorp.com/en/us/software-product-page/software-sub-cat/m3-edit-and-play/"
11 url "https://zoomcorp.com/en/us/mictrak-recorders/mictrak-recorders/m3-mictrak/m3-support/"
12 regex(%r{href=.*?/(\d+)/M3[._-]Edit[._-]+?Play[._-]Mac[._-]v?(\d+(?:\.\d+)+).*?\.zip}i)
13 strategy :page_match do |page, regex|
14 page.scan(regex).map { |match| "#{match[1]},#{match[0]}" }
18 depends_on macos: ">= :catalina"
19 container nested: "M3_Edit_&_Play_Mac_v#{version.csv.first}_E/ZOOM M3 Edit & Play #{version.csv.first} Installer.dmg"
21 app "ZOOM M3 Edit & Play.app"
23 zap trash: "~/Library/Preferences/jp.co.zoom.M3EditPlay.plist"