forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ableton-live-standard.rb
31 lines (25 loc) · 980 Bytes
/
ableton-live-standard.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
cask "ableton-live-standard" do
version "11.0.12"
sha256 "5195d68cbc0fc926bfd8c293d1bee7566eac4ae5b4af1fbb195e84945dcea838"
url "https://cdn-downloads.ableton.com/channels/#{version}/ableton_live_standard_#{version}_64.dmg"
name "Ableton Live Standard"
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} Standard.app"
uninstall quit: "com.ableton.Live"
zap trash: [
"~/Library/Application Support/CrashReporter/Ableton *_*.plist",
"~/Library/Application Support/CrashReporter/Live_*.plist",
"~/Library/Application Support/Ableton",
"~/Library/Caches/Ableton",
"~/Library/Preferences/Ableton",
"~/Library/Preferences/com.ableton.live.plist*",
"~/Music/Ableton",
]
end