homebrew-cask/Casks/qiyimedia.rb

23 lines
753 B
Ruby

cask "qiyimedia" do
version "20201203,11.11.6"
sha256 :no_check
url "https://mbdapp.iqiyi.com/j/ot/iQIYIMedia_271.dmg"
appcast "https://macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://mbdapp.iqiyi.com/j/ot/iQIYIMedia_271.dmg",
must_contain: version.before_comma
name "iQIYI"
name "爱奇艺视频"
desc "Interactive media player"
homepage "https://app.iqiyi.com/mac/player/index.html"
depends_on macos: ">= :catalina"
app "爱奇艺.app"
zap trash: [
"~/Library/Application Scripts/com.iqiyi.player",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.iqiyi.player.sfl*",
"~/Library/Containers/com.iqiyi.player",
]
end