homebrew-cask/Casks/teamdrive.rb

28 lines
1.3 KiB
Ruby

cask 'teamdrive' do
version '4.6.4.2182'
sha256 'd210193bdc0e8dc0f060a4414a2dec1f0048de2f99c52b91b1a782c04e2fde19'
# s3download.teamdrive.net.s3.amazonaws.com was verified as official when first introduced to the cask
url "http://s3download.teamdrive.net.s3.amazonaws.com/#{version.major_minor}.#{version.split('.').last}/TMDR/mac-10.13.4/Install-TeamDrive-#{version}_TMDR.dmg"
name 'TeamDrive'
homepage 'https://www.teamdrive.com/'
installer script: {
executable: "Install-TeamDrive-#{version}_TMDR.app/Contents/MacOS/osx-x86_64",
args: ['--unattendedmodeui', 'none', '--mode', 'unattended'],
}
uninstall script: {
executable: '/Applications/TeamDrive/uninstall.app/Contents/MacOS/osx-x86_64',
args: ['--mode', 'unattended'],
},
signal: [
['QUIT', 'com.teamdrive.teamdrive3'],
['KILL', 'com.teamdrive.teamdrive3'],
['QUIT', 'com.teamdrive.teamdrive3.FinderExt'],
['KILL', 'com.teamdrive.teamdrive3.FinderExt'],
['QUIT', 'com.teamdrive.teamdrive3.MenuExt'],
['KILL', 'com.teamdrive.teamdrive3.MenuExt'],
]
end