homebrew-cask/Casks/plex-media-player.rb

23 lines
807 B
Ruby

cask 'plex-media-player' do
version '2.47.0.1035-e74d341b'
sha256 '037f15926c492ff2304d5a85b8aac910bfb35483a37569051526ab573cf6db8d'
url "https://downloads.plex.tv/plexmediaplayer/#{version}/PlexMediaPlayer-#{version}-macosx-x86_64.zip"
appcast 'https://plex.tv/api/downloads/3.json'
name 'Plex Media Player'
homepage 'https://www.plex.tv/'
auto_updates true
depends_on macos: '>= :yosemite'
app 'Plex Media Player.app'
zap trash: [
'~/Library/Application Support/Plex Media Player',
'~/Library/Caches/Plex Media Player',
'~/Library/Logs/Plex Media Player',
'~/Library/Saved Application State/tv.plex.Plex Media Player.savedState',
'~/Library/Preferences/tv.plex.Plex Media Player.plist',
]
end