homebrew-cask/Casks/a/ableton-live-lite.rb

31 lines
888 B
Ruby

cask "ableton-live-lite" do
version "12.0.1"
sha256 "d54e275ec1b34d0181ebc17218bcfa57dff4455bd1027547b6de6f77a45068f5"
url "https://cdn-downloads.ableton.com/channels/#{version}/ableton_live_lite_#{version}_universal.dmg"
name "Ableton Live Lite"
desc "Sound and music editor"
homepage "https://www.ableton.com/en/products/live-lite/"
livecheck do
cask "ableton-live-suite"
end
auto_updates true
depends_on macos: ">= :big_sur"
app "Ableton Live #{version.major} Lite.app"
uninstall quit: "com.ableton.live"
zap trash: [
"~/Library/Application Support/Ableton",
"~/Library/Application Support/CrashReporter/Ableton *_*.plist",
"~/Library/Application Support/CrashReporter/Live_*.plist",
"~/Library/Caches/Ableton",
"~/Library/Preferences/Ableton",
"~/Library/Preferences/com.ableton.live.plist*",
"~/Music/Ableton",
]
end