cask 'plex' do version '1.4.1.940-574c2fa7' sha256 '80380d4cb710c3234d7dadfc2bbfe58046ca02518a2b4df8d773a70da609a490' url "https://downloads.plex.tv/plex-desktop/#{version}/macos/Plex-#{version}-x86_64.zip" appcast 'https://plex.tv/api/downloads/6.json' name 'Plex' homepage 'https://www.plex.tv/' auto_updates true depends_on macos: '>= :sierra' app 'Plex.app' zap trash: [ '~/Library/Application Support/Plex', '~/Library/Caches/Plex', '~/Library/Logs/Plex', ] end