25 lines
974 B
Ruby
25 lines
974 B
Ruby
cask 'imgotv' do
|
|
version '6.3.0'
|
|
sha256 'b7485f7a3b126fc245ae3eef6316327079896d3cc5f5f6a29f761d06cbf4a6ce'
|
|
|
|
# download.imgo.tv/ was verified as official when first introduced to the cask
|
|
url "https://download.imgo.tv/app/mac/#{version}/mgtv-mango-#{version}.dmg"
|
|
appcast 'https://macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?user_agent=Mac%20OS%20X&url=http://pcconf.api.mgtv.com/getPcDownloadUrl?source=mango2'
|
|
name '芒果TV'
|
|
homepage 'https://www.mgtv.com/app/'
|
|
|
|
auto_updates true
|
|
depends_on macos: '>= :yosemite'
|
|
|
|
app '芒果TV.app'
|
|
|
|
zap trash: [
|
|
'~/Library/Preferences/com.hunantv.osx.imgotv.plist',
|
|
'~/Library/Caches/com.hunantv.LaunchAtLoginHelper',
|
|
'~/Library/Saved Application State/com.hunantv.osx.imgotv.savedState',
|
|
'~/Library/Caches/com.hunantv.osx.imgotv',
|
|
'~/Library/Caches/Imgotv-Mac',
|
|
'~/Library/Logs/Imgotv-Mac',
|
|
]
|
|
end
|