mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
24 lines
691 B
Ruby
24 lines
691 B
Ruby
cask "futubull" do
|
|
version "13.18.5418"
|
|
sha256 "5c4cab31c4042777828854999dab4c5e8cd4c1edbfc6eb7dfe9c4193e7d74f51"
|
|
|
|
url "https://softwarefile.futunn.com/FTNNForMac_#{version}_Website.dmg"
|
|
name "Futubull"
|
|
name "FutuNiuniu"
|
|
desc "Trading application"
|
|
homepage "https://www.futunn.com/"
|
|
|
|
livecheck do
|
|
url "https://www.futunn.com/download/history?client=11"
|
|
regex(/FTNNForMac[._-]v?(\d+(?:\.\d+)+)[._-]Website\.dmg/i)
|
|
end
|
|
|
|
# Renamed for consistency: app name is different in the Finder and in a shell.
|
|
app "FutuNiuniu.app", target: "Futubull.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Scripts/cn.futu.Niuniu",
|
|
"~/Library/Containers/cn.futu.Niuniu",
|
|
]
|
|
end
|