excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / ableton-live-suite@11.rb
blob281f67a6cb5252d2077aebce6fd7c457671731a6
1 cask "ableton-live-suite@11" do
2   version "11.3.35"
3   sha256 "15abb8573f23cd86ed584a4a6c20d32c9328583bbd1bcd1536f2edbc82d237fd"
5   url "https://cdn-downloads.ableton.com/channels/#{version}/ableton_live_suite_#{version}_universal.dmg"
6   name "Ableton Live Suite"
7   desc "Sound and music editor"
8   homepage "https://www.ableton.com/en/live/"
10   livecheck do
11     url "https://www.ableton.com/en/release-notes/live-#{version.major}/"
12     regex(/(\d+(?:\.\d+)+)\s*Release\s*Notes/i)
13   end
15   auto_updates true
16   depends_on macos: ">= :high_sierra"
18   app "Ableton Live #{version.major} Suite.app"
20   uninstall quit: "com.ableton.live"
22   zap trash: [
23     "/Library/Logs/DiagnosticReports/Max_*.*_resource.diag",
24     "~/Library/Application Support/Ableton",
25     "~/Library/Application Support/CrashReporter/Ableton *_*.plist",
26     "~/Library/Application Support/CrashReporter/Live_*.plist",
27     "~/Library/Application Support/CrashReporter/Max_*.plist",
28     "~/Library/Application Support/Cycling '74",
29     "~/Library/Caches/Ableton",
30     "~/Library/Preferences/Ableton",
31     "~/Library/Preferences/com.ableton.live.plist*",
32     "~/Library/Preferences/com.cycling74.Max*.plist*",
33     "~/Music/Ableton",
34     "~/Documents/Max [0-9]",
35     "/Users/Shared/Max [0-9]",
36   ]
37 end