-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
/
active-trader-pro.rb
32 lines (25 loc) · 978 Bytes
/
active-trader-pro.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
cask "active-trader-pro" do
version "1.0.55"
sha256 "394689bce9630cd949a40ae9914533acaf028f8d08019833dbb7a49f3416866e"
url "https://www.fidelity.com/webcontent/Codeweaver/activetrader-#{version}.zip"
name "Active Trader Pro"
desc "Trading platform"
homepage "https://www.fidelity.com/trading/advanced-trading-tools/active-trader-pro/overview"
livecheck do
url "https://www.fidelity.com/webcontent/CodeweaverUpgradeInfo/activetrader-mac.xml"
strategy :sparkle, &:short_version
end
depends_on macos: ">= :sierra"
app "Active Trader Pro.app"
uninstall quit: "com.fmr.activetrader"
zap trash: [
"~/Library/Application Support/Active Trader Pro",
"~/Library/HTTPStorages/com.fmr.activetrader",
"~/Library/HTTPStorages/com.fmr.activetrader.binarycookies",
"~/Library/Preferences/com.fmr.activetrader.plist",
"~/Library/Saved Application State/com.fmr.activetrader.savedState",
]
caveats do
requires_rosetta
end
end