Browse Source

Change android-studio-canary to match mainline

The Android Studio Canary cask seems to have been last synchronized with
the changes in the mainline cask on 11 December 2014, in commit
cf066db5f26e4f2b8a994a5d1792b1ded94b6150. This commit adds all the
subsequent updates on the mainline cask, which are as follows:

 - Added name stanza.
 - Removed obsolete caveat for using Java 7 or above
 - Added zap stanza

The homepage has been changed to the homepage for the canary channel.
master
Ibraheem Zaman 10 years ago
parent
commit
5583b847c4
  1. 18
      Casks/android-studio-canary.rb

18
Casks/android-studio-canary.rb

@ -3,16 +3,22 @@ cask :v1 => 'android-studio-canary' do
sha256 'cc06d31f71a4bbc94e3027846f8293ffe898c77d55eccb3dee1fb073cd1e3d1c'
url "http://dl.google.com/dl/android/studio/ide-zips/#{version}/android-studio-ide-141.2095413-mac.zip"
homepage 'http://tools.android.com/download/studio'
name 'Android Studio Canary'
homepage 'https://sites.google.com/a/android.com/tools/download/studio/canary'
license :apache
app 'Android Studio.app'
caveats <<-EOS.undent
If you have Java 7 or above installed, you may want to use it as Android Studio JDK, for example:
export STUDIO_JDK=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk
Please take a look at this post: http://tools.android.com/recent/androidstudio1rc3_releasecandidate3released
#{token} requires Java. You can install the latest version with
brew cask install java
EOS
zap :delete => [
'~/Library/Preferences/AndroidStudio*',
'~/Library/Preferences/com.google.android.studio.plist',
'~/Library/Application Support/AndroidStudio*',
'~/Library/Logs/AndroidStudio*',
'~/Library/Caches/AndroidStudio*',
],
:rmdir => '~/AndroidStudioProjects'
end

Loading…
Cancel
Save