Last active
October 17, 2020 13:46
-
-
Save marcusedu/b48f6a9fe705541ecd415a67297d77ba to your computer and use it in GitHub Desktop.
Script que baixa e instala o chocolatey, dart-sdk, android studio e o git, depois clona o flutter na pasta src da raiz do disco e inicializa o Flutter doctor.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
choco install dart-sdk androidstudio git | |
cd \ | |
mkdir src | |
cd \src | |
git clone https://github.com/flutter/flutter.git | |
cd flutter | |
start bin/flutter.bat doctor | |
start flutter_console.bat | |
@echo off | |
@echo Agora falta pouco, apenas add o plugin do Flutter no Android Studio | |
@echo. | |
@echo 1 - No Android Studio va em File-Settings-plugins | |
@echo 2 - Clique em Browser Repositories | |
@echo 3 - Pesquise por Flutter | |
@echo 4 - O instale e em seguida reinicie o Android Studio | |
@echo. | |
@echo A partir de agora o Android Studio vai te dar opcao de criar um novo projeto Flutter | |
start %programfiles%/android/android studio/bin/studio.bat | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
P.S. é preciso executar o script como administrador para que ele possa fazer a instalação dos softwares