Update Trader Workstation to use offline installer. (#59209)

This commit is contained in:
Matthias 2019-02-20 18:07:56 +01:00 committed by Markus Reiter
parent 232505162c
commit 956608d7ec
1 changed files with 3 additions and 3 deletions

View File

@ -2,18 +2,18 @@ cask 'trader-workstation' do
version :latest
sha256 :no_check
url 'https://download2.interactivebrokers.com/installers/tws/latest/tws-latest-macosx-x64.dmg'
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 Installer.app/Contents/MacOS/JavaApplicationStub",
executable: "#{staged_path}/Trader Workstation 974 Installer.app/Contents/MacOS/JavaApplicationStub",
args: ['-q'],
}
uninstall quit: 'com.install4j.5889-6375-8446-2021.22',
script: {
executable: "#{ENV['HOME']}/Applications/Trader Workstation/Trader Workstation Uninstaller.app/Contents/MacOS/JavaApplicationStub",
executable: "#{ENV['HOME']}/Applications/Trader Workstation 974/Trader Workstation 974 Uninstaller.app/Contents/MacOS/JavaApplicationStub",
args: ['-q'],
}
end