diff --git a/AndroidStudio/AndroidStudio.nuspec b/AndroidStudio/AndroidStudio.nuspec new file mode 100644 index 0000000..57ba6ad --- /dev/null +++ b/AndroidStudio/AndroidStudio.nuspec @@ -0,0 +1,33 @@ + + + + AndroidStudio + Android Studio + 0.1.130.677228 + Google + Ethan J Brown + Android Studio is a new Android development environment based on IntelliJ IDEA. + Android Studio is a new Android development environment based on IntelliJ IDEA. Similar to Eclipse with the ADT Plugin, Android Studio provides integrated Android developer tools for development and debugging. On top of the capabilities you expect from IntelliJ, Android Studio offers: + +* Gradle-based build support. +* Android-specific refactoring and quick fixes. +* Lint tools to catch performance, usability, version compatibility and other problems. +* ProGuard and app-signing capabilities. +* Template-based wizards to create common Android designs and components. +* A rich layout editor that allows you to drag-and-drop UI components, preview layouts on multiple screen configurations, and much more. + +Caution: Android Studio is currently available as an early access preview. Several features are either incomplete or not yet implemented and you may encounter bugs. If you are not comfortable using an unfinished product, you may want to instead download (or continue to use) the ADT Bundle (Eclipse with the ADT Plugin). + + http://blogs.jetbrains.com/idea/2013/05/intellij-idea-and-android-studio-faq/ + + http://developer.android.com/sdk/installing/studio.html + google android jetbrains IntelliJ IDEA + http://opensource.org/licenses/BSD-3-Clause + false + https://github.com/Iristyle/ChocolateyPackages/raw/master/AndroidStudio/androidstudio_logo.png + + + + + + diff --git a/AndroidStudio/androidstudio_logo.png b/AndroidStudio/androidstudio_logo.png new file mode 100644 index 0000000..ff6277c Binary files /dev/null and b/AndroidStudio/androidstudio_logo.png differ diff --git a/AndroidStudio/tools/chocolateyInstall.ps1 b/AndroidStudio/tools/chocolateyInstall.ps1 new file mode 100644 index 0000000..6c303a9 --- /dev/null +++ b/AndroidStudio/tools/chocolateyInstall.ps1 @@ -0,0 +1,18 @@ +$package = 'AndroidStudio' + +try { + $params = @{ + PackageName = $package; + FileType = 'exe'; + #uses NSIS installer - http://nsis.sourceforge.net/Docs/Chapter3.html + SilentArgs = '/S'; + Url = 'http://dl.google.com/android/studio/android-studio-bundle-130.677228-windows.exe'; + } + + Install-ChocolateyPackage @params + + Write-ChocolateySuccess $package +} catch { + Write-ChocolateyFailure $package "$($_.Exception.Message)" + throw +} diff --git a/AndroidStudio/tools/chocolateyUninstall.ps1 b/AndroidStudio/tools/chocolateyUninstall.ps1 new file mode 100644 index 0000000..c115cd5 --- /dev/null +++ b/AndroidStudio/tools/chocolateyUninstall.ps1 @@ -0,0 +1,27 @@ +$package = 'AndroidStudio' + +try +{ + $installPath = (Join-Path "${Env:\ProgramFiles(x86)}" 'AndroidStudio'), + (Join-Path 'Env:ProgramFiles' 'AndroidStudio') | + ? { Test-Path $_ } | + Select -First 1 + + $uninstall = Join-Path $Env:LOCALAPPDATA 'Android\android-studio\uninstall.exe' + + #uses NSIS installer - http://nsis.sourceforge.net/Docs/Chapter3.html + $uninstallParams = @{ + PackageName = $package; + FileType = 'exe'; + SilentArgs = '/S'; + File = $uninstall; + } + + Uninstall-ChocolateyPackage @uninstallParams + Write-ChocolateySuccess $package +} +catch +{ + Write-ChocolateyFailure $package "$($_.Exception.Message)" + throw +}