excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / ableton-live-suite@10.rb
blobbdaf98e71b1ccfe6e96fa1460cfb8f4d89ec4d9f
1 cask "ableton-live-suite@10" do
2   version "10.1.43"
3   sha256 "8bb8e4b9a4f1f3daa1129dbdf8add879d4e8d575ba95e923ed6dcba368f48717"
5   url "https://cdn-downloads.ableton.com/channels/#{version}/ableton_live_suite_#{version}_64.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/Caches/com.ableton.live",
31     "~/Library/Preferences/Ableton",
32     "~/Library/Preferences/com.ableton.live.plist*",
33     "~/Library/Preferences/com.cycling74.Max*.plist*",
34     "~/Library/WebKit/com.ableton.live",
35     "~/Documents/Max [0-9]",
36     "/Users/Shared/Max [0-9]",
37     "~/Music/Ableton",
38   ]
40   caveats do
41     requires_rosetta
42   end
43 end