2013-05-05 03:24:56 +08:00
|
|
|
class Kaleidoscope < Cask
|
2014-05-01 09:22:40 +08:00
|
|
|
url 'http://cdn.kaleidoscopeapp.com/releases/Kaleidoscope-2.1.0-134.zip'
|
2013-05-05 03:24:56 +08:00
|
|
|
homepage 'http://www.kaleidoscopeapp.com/'
|
2014-05-01 09:22:40 +08:00
|
|
|
version '2.1.0_134'
|
|
|
|
sha256 'e16360273fb6d37560c7974b95728d82a0482268641753c49f903bf36445d35b'
|
2013-06-05 11:06:58 +08:00
|
|
|
link 'Kaleidoscope.app'
|
2014-01-06 04:31:25 +08:00
|
|
|
binary 'Kaleidoscope.app/Contents/Resources/bin/ksdiff'
|
2013-12-07 10:09:14 +08:00
|
|
|
|
|
|
|
after_install do
|
|
|
|
# Don't ask to move the app bundle to /Applications
|
2014-03-01 22:49:23 +08:00
|
|
|
system '/usr/bin/defaults', 'write', 'com.blackpixel.kaleidoscope', 'moveToApplicationsFolderAlertSuppress', '-bool', 'true'
|
2013-12-07 10:09:14 +08:00
|
|
|
end
|
2014-02-21 23:44:44 +08:00
|
|
|
caveats do
|
|
|
|
files_in_usr_local
|
|
|
|
end
|
2013-05-05 03:24:56 +08:00
|
|
|
end
|