Created
February 20, 2015 20:43
-
-
Save mhevery/2473157176413873ef60 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
curl http://storage.googleapis.com/dart-archive/channels/dev/release/latest/editor/darteditor-macos-x64.zip > ~/Downloads/darteditor-macos-64-dev.zip; | |
echo Fetched new dart version $(unzip -p ~/Downloads/darteditor-macos-64-dev.zip dart/dart-sdk/version) | |
rm -rf /Applications/dart-dev ; | |
unzip ~/Downloads/darteditor-macos-64-dev.zip -d /tmp > /dev/null | |
mv /tmp/dart /Applications/dart-dev | |
curl http://storage.googleapis.com/dart-archive/channels/stable/release/latest/editor/darteditor-macos-x64.zip > ~/Downloads/darteditor-macos-64.zip; | |
echo Fetched new dart version $(unzip -p ~/Downloads/darteditor-macos-64.zip dart/dart-sdk/version) | |
rm -rf /Applications/dart ; | |
unzip ~/Downloads/darteditor-macos-64.zip -d /Applications/ > /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment