21 lines
631 B
Ruby
21 lines
631 B
Ruby
cask "webull" do
|
|
version "5.4.22_us"
|
|
sha256 "75f4c8981b27e248360fdf024ca6620ae50711af3ff54d03e60efadfa66b3c26"
|
|
|
|
url "https://pub.webull.com/us/desktop/Webull%20Desktop%20#{version}.dmg"
|
|
name "Webull"
|
|
desc "Desktop client for Webull Financial LLC"
|
|
homepage "https://webull.com/"
|
|
|
|
livecheck do
|
|
url "https://infoapi.webullfintech.com/api/operation/appver/last?platform=qt_mac_global"
|
|
regex(%r{"upgradeUrl"\s*:\s*"[^"]*/Webull%20Desktop%20(\d+(?:\.\d+)*(?:[._-][a-z]+)?)\.dmg"}i)
|
|
end
|
|
|
|
depends_on macos: ">= :sierra"
|
|
|
|
app "Webull Desktop.app"
|
|
|
|
zap trash: "~/Library/Application Support/Webull Desktop"
|
|
end
|