2 arch arm: "arm64", intel: "x86_64"
5 sha256 arm: "f88ff4eee11f0507b29a3298da530d674677ddba9dde1a3c381a357d2caa73b1",
6 intel: "f026abf10000498a4b997425b16dd36f39dbe13f8e5e3ed22f0243c11c9d2f85"
8 url "https://www.segger.com/downloads/jlink/Ozone_MacOSX_V#{version.no_dots}_#{arch}.pkg",
11 "accept_license_agreement" => "accepted",
12 "non_emb_ctr" => "confirmed",
13 "submit" => "Download software",
15 name "Segger Ozone J-Link Debugger"
16 desc "Software and Documentation pack for Segger Ozone J-Link debugger"
17 homepage "https://www.segger.com/downloads/jlink#Ozone"
20 url "https://www.segger.com/downloads/jlink/ReleaseNotes_Ozone.html"
21 regex(/<h2[^>]*>\s*Version\s*(\d+(?:\.\d+)+[a-z]?)/i)
24 pkg "Ozone_MacOSX_V#{version.no_dots}_#{arch}.pkg"
26 uninstall quit: "com.segger.Ozone.*",
27 pkgutil: "com.segger.pkg.Ozone"
31 "~/Library/Application Support/SEGGER/Ozone",
32 "~/Library/Saved Application State/com.segger.Ozone.*savedState",
36 license @cask.url.to_s