You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
873 B
25 lines
873 B
cask :v1 => 'android-studio-canary' do
|
|
version '2.0.0.1-143.2461418'
|
|
sha256 '606fdfdf9c8a16cbaecf223afff8b3a8e247e949b75e7e6ede695d77b34e2fb6'
|
|
|
|
url "https://dl.google.com/dl/android/studio/ide-zips/#{version.sub(%r{-.*},'')}/android-studio-ide-#{version.sub(%r{.*?-},'')}-mac.zip"
|
|
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
|
|
#{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
|
|
|