20 lines
884 B
Ruby
20 lines
884 B
Ruby
cask 'trader-workstation' do
|
|
version '978.2d'
|
|
sha256 '5b8e944e9b17c45a93e94b97f3c1dacbdc51886a8db7138bb2abef15f10694e1'
|
|
|
|
url 'https://download2.interactivebrokers.com/installers/tws/stable-standalone/tws-stable-standalone-macosx-x64.dmg'
|
|
name 'Trader Workstation'
|
|
homepage 'https://www.interactivebrokers.com/'
|
|
|
|
installer script: {
|
|
executable: "#{staged_path}/Trader Workstation #{version.major} Installer.app/Contents/MacOS/JavaApplicationStub",
|
|
args: ['-q'],
|
|
}
|
|
|
|
uninstall quit: 'com.install4j.5889-6375-8446-2021.22',
|
|
script: {
|
|
executable: "#{ENV['HOME']}/Applications/Trader Workstation #{version.major}/Trader Workstation #{version.major} Uninstaller.app/Contents/MacOS/JavaApplicationStub",
|
|
args: ['-q'],
|
|
}
|
|
end
|