2 version "8.6.0,800060004"
3 sha256 "eadec082e436196f946ccc0d64a10f11acd6f2f5523f4793fec584be1d63b1e0"
5 url "https://u1sweb.webullfintech.com/us/Webull%20Desktop_#{version.csv.first}_#{version.csv.second}_global_universalsigned.dmg",
6 verified: "u1sweb.webullfintech.com/us/"
8 desc "Desktop client for Webull Financial LLC"
9 homepage "https://www.webull.com/"
12 url "https://infoapi.webullfintech.com/api/operation/appver/last?platform=qt_mac_global&osv=14"
13 regex(/Webull%20Desktop[._-]v?(\d+(?:[._]\d+)+).*?\.dmg/i)
14 strategy :json do |json, regex|
15 json["upgradeUrl"]&.scan(regex)&.map { |match| match[0].tr("_", ",") }
19 depends_on macos: ">= :catalina"
21 app "Webull Desktop.app"
24 "~/.config/Webull Desktop",
25 "~/Library/Application Support/Webull Desktop",
26 "~/Library/Preferences/com.webulldesktop.*",
27 "~/Library/Saved Application State/com.webull.desktop.v1.savedState",