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

23 lines
753 B
Ruby

cask 'plex-media-server' do
version '1.2.5.2966-3f767e7'
sha256 'f9222821a9bc586b1c88600292cd6b4c960793d0b5c6572b805f72aefd3d2ae7'
url "https://downloads.plex.tv/plex-media-server/#{version}/PlexMediaServer-#{version}-OSX.zip"
name 'Plex Media Server'
homepage 'https://plex.tv/'
depends_on macos: '>= :mountain_lion'
app 'Plex Media Server.app'
uninstall quit: 'com.plexapp.plexmediaserver',
launchctl: 'com.plexapp.mediaserver'
zap delete: [
'~/Library/Application Support/Plex Media Server/',
'~/Library/Caches/PlexMediaServer/',
'~/Library/Logs/Plex Media Server/',
'~/Library/Preferences/com.plexapp.plexmediaserver.plist',
]
end