2014-01-28 23:19:04 +08:00
|
|
|
class Alib1 < Cask
|
2014-03-01 22:29:33 +08:00
|
|
|
# note: "1" is not a version number, but an intrinsic part of the product name
|
2014-09-17 19:42:37 +08:00
|
|
|
version :latest
|
2014-05-08 20:51:31 +08:00
|
|
|
sha256 :no_check
|
2014-06-27 08:00:56 +08:00
|
|
|
|
|
|
|
url 'http://presstube.com/screensavers/Presstube-ALib1-mac.zip'
|
|
|
|
homepage 'http://presstube.com/blog/2011/alib1/'
|
2014-10-01 23:32:26 +08:00
|
|
|
license :unknown
|
2014-06-27 08:00:56 +08:00
|
|
|
|
2014-01-28 23:19:04 +08:00
|
|
|
screen_saver 'Presstube-ALib1.app/Contents/Resources/Presstube - ALib1.saver'
|
|
|
|
|
2014-09-09 20:55:26 +08:00
|
|
|
postflight do
|
2014-03-01 22:55:08 +08:00
|
|
|
system '/usr/libexec/PlistBuddy', '-c', 'Set :CFBundleName ALib1 (Presstube)', "#{destination_path}/presstube-alib1.app/Contents/Resources/Presstube - ALib1.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
|