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