forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ableton-live-suite.rb
37 lines (31 loc) 路 1.23 KB
/
ableton-live-suite.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
cask "ableton-live-suite" do
version "11.0.12"
sha256 "291b277b42485d5b4ce959883b0600d7dbb7743056eac5007e3c73237672c9ea"
url "https://cdn-downloads.ableton.com/channels/#{version}/ableton_live_suite_#{version}_64.dmg"
name "Ableton Live Suite"
desc "Sound and music editor"
homepage "https://www.ableton.com/en/live/"
livecheck do
url "https://www.ableton.com/en/release-notes/live-#{version.major}/"
regex(/(\d+(?:\.\d+)+)\s*Release\s*Notes/i)
end
auto_updates true
depends_on macos: ">= :high_sierra"
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