Skip to content

Commit

Permalink
ableton-live-suite@11: migrate cask
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanazamfirei committed Apr 29, 2024
1 parent fb74b5e commit 5e8c261
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions Casks/a/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
cask "ableton-live-suite@11" do
version "11.3.22"
sha256 "fde19cc28ecf98e16151bf6b9e42147d25492d6d62e9573a311bca3d3776bf55"

url "https://cdn-downloads.ableton.com/channels/#{version}/ableton_live_suite_#{version}_universal.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/Ableton",
"~/Library/Application Support/CrashReporter/Ableton *_*.plist",
"~/Library/Application Support/CrashReporter/Live_*.plist",
"~/Library/Application Support/CrashReporter/Max_*.plist",
"~/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

0 comments on commit 5e8c261

Please sign in to comment.