homebrew-cask/Casks/p/plexamp.rb

33 lines
960 B
Ruby

cask "plexamp" do
arch arm: "-arm64"
version "4.9.1"
sha256 arm: "0c0f37343215fd9d31b41a534182cdef03f83320bad59bc0ccfc45f8f9d0eeb1",
intel: "3a9eadeba2f7b23be502c145e3934c0c5ac453f8f1afb7b9d4330de17cbb0855"
url "https://plexamp.plex.tv/plexamp.plex.tv/desktop/Plexamp-#{version}#{arch}.dmg",
verified: "plexamp.plex.tv/"
name "Plexamp"
desc "Music player focusing on visuals"
homepage "https://plexamp.com/"
livecheck do
url "https://plexamp.plex.tv/plexamp.plex.tv/desktop/latest-mac.yml"
strategy :electron_builder
end
auto_updates true
app "Plexamp.app"
zap trash: [
"~/Library/Application Support/Caches/plexamp-updater",
"~/Library/Application Support/Plexamp",
"~/Library/Caches/Plexamp",
"~/Library/Caches/tv.plex.plexamp*",
"~/Library/Logs/Plexamp",
"~/Library/Preferences/tv.plex.plexamp.plist",
"~/Library/Saved Application State/tv.plex.plexamp.savedState",
]
end