homebrew-cask/Casks/youku.rb

24 lines
628 B
Ruby
Raw Normal View History

2016-04-17 11:51:39 +08:00
cask 'youku' do
if MacOS.version == :mountain_lion
2016-10-31 18:56:55 +08:00
version '1.0.5.5031'
sha256 'b7d9ff08bd87150dfa9a52a891d57002e0cbc3f73d181240adfa86a076793d55'
else
version '1.1.8.12206'
sha256 'bf26b321c77c1490b72476482dfef131a098fbb89fadcde5b5091d79e026aaaa'
2016-10-31 18:56:55 +08:00
end
2016-04-17 11:51:39 +08:00
url "http://pcclient.download.youku.com/ugc/youkumac_#{version}.dmg"
2016-10-31 18:56:55 +08:00
name 'Youku'
name '优酷'
2016-12-25 07:34:06 +08:00
homepage 'https://pd.youku.com/pc'
2016-04-17 11:51:39 +08:00
depends_on macos: '>= :mountain_lion'
2016-04-17 11:51:39 +08:00
app '优酷.app'
2016-10-31 18:56:55 +08:00
zap delete: [
'~/Library/Application Scripts/com.youku.mac',
'~/Library/Containers/com.youku.mac',
]
2016-04-17 11:51:39 +08:00
end