24 lines
643 B
Ruby
24 lines
643 B
Ruby
class Heart < Cask
|
|
version :latest
|
|
sha256 :no_check
|
|
|
|
url 'http://presstube.com/screensavers/presstube-heart-mac.zip'
|
|
homepage 'http://presstube.com/blog/2011/heart/'
|
|
license :unknown
|
|
|
|
screen_saver 'presstube-heart.app/Contents/Resources/Presstube - Heart.saver'
|
|
|
|
postflight do
|
|
system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName Heart (Presstube)', "#{destination_path}/presstube-heart.app/Contents/Resources/Presstube - Heart.saver/Contents/Info.plist"
|
|
end
|
|
|
|
caveats do
|
|
<<-EOS.undent
|
|
If you have issue running #{@cask}, try installing Adobe Air with
|
|
|
|
brew cask install adobe-air
|
|
|
|
EOS
|
|
end
|
|
end
|