29 lines
1.4 KiB
Ruby
29 lines
1.4 KiB
Ruby
cask 'teamdrive' do
|
|
version '4.6.7.2355'
|
|
sha256 '5536dc1ba6a33bfbbc5cc1b9ddc28220f275b6a492a74306d71b766a834ba956'
|
|
|
|
# s3-eu-west-1.amazonaws.com/s3download.teamdrive.net was verified as official when first introduced to the cask
|
|
url "https://s3-eu-west-1.amazonaws.com/s3download.teamdrive.net/#{version.major_minor}.#{version.split('.').last}/TMDR/mac-10.14.2/Install-TeamDrive-#{version}_TMDR.dmg"
|
|
appcast 'https://teamdrive.com/en/downloads/?utm_source=startingpage&utm_medium=cta&utm_campaign=download_en'
|
|
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
|