Archived
1
0
This commit is contained in:
Anmol Sethi
2020-10-12 02:09:48 -04:00
parent d7ba9ae633
commit a4a03c1492
3 changed files with 6 additions and 2 deletions

View File

@ -24,6 +24,10 @@ main() {
;;
esac
OS="$(uname | tr '[:upper:]' '[:lower:]')"
curl -fsSL "https://storage.googleapis.com/coder-cloud-releases/agent/latest/$OS/cloud-agent" -o ./lib/coder-cloud-agent
chmod +x ./lib/coder-cloud-agent
if ! vscode_yarn; then
echo "You may not have the required dependencies to build the native modules."
echo "Please see https://github.com/cdr/code-server/blob/master/doc/npm.md"