2014-02-25 10:45:43 +08:00
|
|
|
class AndroidStudioBundle < Cask
|
2014-08-26 11:13:58 +08:00
|
|
|
version '0.8.6 build-135.1339820'
|
|
|
|
sha256 '3a9f65434a2381019f4487481331f539a69b09b8ea81a8b4dfff9c6a126423f0'
|
2014-06-27 08:00:56 +08:00
|
|
|
|
2014-08-26 11:13:58 +08:00
|
|
|
url 'https://dl.google.com/android/studio/install/0.8.6/android-studio-bundle-135.1339820-mac.dmg'
|
2014-06-27 08:00:56 +08:00
|
|
|
homepage 'http://developer.android.com/sdk/installing/studio.html'
|
2014-10-01 23:32:27 +08:00
|
|
|
license :unknown
|
2014-06-27 08:00:56 +08:00
|
|
|
|
2014-09-16 00:05:14 +08:00
|
|
|
app 'Android Studio.app'
|
2014-07-25 23:38:59 +08:00
|
|
|
|
2014-09-09 20:55:26 +08:00
|
|
|
postflight do
|
2014-07-25 23:38:59 +08:00
|
|
|
system "/usr/libexec/PlistBuddy", "-c", "Set :JVMOptions:JVMVersion 1.6+", "#{destination_path}/Android Studio.app/Contents/Info.plist"
|
|
|
|
end
|
2014-02-25 10:45:43 +08:00
|
|
|
end
|