3 sha256 "cfc84ff2f7ea4cc7c9ec4765a9ba408f1532ac778d50441add9efc3635518e33"
5 url "https://education.lego.com/_/downloads/SPIKE_APP_#{version.major}_macOS__#{version}_Global.dmg"
7 desc "Develop with Scratch and Python for your LEGO Spike set"
8 homepage "https://education.lego.com/"
11 url "https://education.lego.com/page-data/en-au/downloads/spike-app/software/page-data.json"
12 regex(/SPIKE[._-]APP[._-]\d+[._-]macOS[._-]+v?(\d+(?:\.\d+)+)[._-]Global\.dmg/i)
15 depends_on macos: ">= :catalina"
20 "~/Library/Application Scripts/com.lego.education.spikenext",
21 "~/Library/Containers/com.lego.education.spikenext",