2014-01-28 23:19:04 +08:00
|
|
|
class Heart < Cask
|
|
|
|
version 'latest'
|
2014-05-08 20:51:31 +08:00
|
|
|
sha256 :no_check
|
2014-06-27 08:01:17 +08:00
|
|
|
|
|
|
|
url 'http://presstube.com/screensavers/presstube-heart-mac.zip'
|
|
|
|
homepage 'http://presstube.com/blog/2011/heart/'
|
|
|
|
|
2014-01-28 23:19:04 +08:00
|
|
|
screen_saver 'presstube-heart.app/Contents/Resources/Presstube - Heart.saver'
|
|
|
|
|
|
|
|
after_install do
|
2014-03-01 22:56:27 +08:00
|
|
|
system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName Heart (Presstube)', "#{destination_path}/presstube-heart.app/Contents/Resources/Presstube - Heart.saver/Contents/Info.plist"
|
2014-01-28 23:19:04 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
caveats do
|
|
|
|
<<-EOS.undent
|
|
|
|
If you have issue running #{@cask}, try installing Adobe Air with
|
|
|
|
|
|
|
|
brew cask install adobe-air
|
|
|
|
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|