Casks/f/futubull.rb
cask "futubull" do
version "14.25.8308"
sha256 "daa258b8907741df6db5616ae6ad27d2c88badde406832825517e88ad8d307ab"
url "https://softwaredownload.futunn.com/FTNNForMac_#{version}_Website.dmg",
user_agent: :fake,
referer: "https://www.futunn.com/"
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