homebrew-cask/Casks/ableton-live-suite.rb

32 lines
1.3 KiB
Ruby

cask 'ableton-live-suite' do
version '10.1.9'
sha256 '8aa5b1e0ed0fc904ddd32083a074665cf4e275618f75c4834685b114ab1e181b'
url "https://cdn-downloads.ableton.com/channels/#{version}/ableton_live_suite_#{version}_64.dmg"
appcast "https://www.ableton.com/en/release-notes/live-#{version.major}/"
name 'Ableton Live Suite'
homepage 'https://www.ableton.com/en/live/'
depends_on macos: '>= :el_capitan'
app "Ableton Live #{version.major} Suite.app"
uninstall quit: 'com.ableton.live'
zap trash: [
'/Library/Logs/DiagnosticReports/Max_*.*_resource.diag',
'~/Library/Application Support/CrashReporter/Ableton *_*.plist',
'~/Library/Application Support/CrashReporter/Live_*.plist',
'~/Library/Application Support/CrashReporter/Max_*.plist',
'~/Library/Application Support/Ableton',
"~/Library/Application Support/Cycling '74",
'~/Library/Caches/Ableton',
'~/Library/Preferences/Ableton',
'~/Library/Preferences/com.ableton.live.plist*',
'~/Library/Preferences/com.cycling74.Max*.plist*',
'~/Music/Ableton',
'~/Documents/Max [0-9]',
'/Users/Shared/Max [0-9]',
]
end