1 cask "visual-paradigm-ce" do
2 arch arm: "AArch64", intel: "WithJRE"
4 version "17.2,20250123"
5 sha256 arm: "702a358af5ae3121db58ccc758e4e49a4ab022f1164016ae104aceb48ea1463d",
6 intel: "9bbf50e2d54cc6241a96f4a81758a28cdd80fef75c05932d6709c9790886ad32"
8 url "https://www.visual-paradigm.com/downloads/vpce/Visual_Paradigm_CE_#{version.csv.first.dots_to_underscores}_#{version.csv.second}_OSX_#{arch}.dmg"
9 name "Visual Paradigm Community Edition"
10 desc "UML, SysML, BPMN modelling platform"
11 homepage "https://www.visual-paradigm.com/"
14 url "https://www.visual-paradigm.com/downloads/vpce/checksum.html"
15 regex(%r{/vpce(\d+(?:\.\d+)+)/(\d+)/checksum\.html}i)
16 strategy :header_match do |headers, regex|
17 match = headers["location"]&.match(regex)
20 "#{match[1]},#{match[2]}"
24 # Renamed to avoid conflict with visual-paradigm.
25 app "Visual Paradigm.app", target: "Visual Paradigm CE.app"
28 "~/Library/Application Support/Visual Paradigm",
29 "~/Library/Application Support/VisualParadigm",
30 "~/Library/Saved Application State/com.install4j.1106-5897-7327-6550.5.savedState",