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

37 lines
1.0 KiB
Ruby

cask "ableton-live-lite" do
arch = "intel"
version "11.2.10"
sha256 "fefadad3f6cd5d727f897000374d16da9f709f56991f6fcc257bb8b14d76a65d"
on_mojave :or_newer do
arch = "universal"
sha256 "30dc091b579c9ac7f4f0bbe165332733e6355f6d009a2b0f287ac79c1c38b4ed"
end
url "https://cdn-downloads.ableton.com/channels/#{version}/ableton_live_lite_#{version}_#{arch}.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: ">= :high_sierra"
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