Archived
1
0

Revert "Add linkup command to improve link functionality" (#4439)

This reverts commit 2504f6fce4.
This commit is contained in:
Joe Previte
2021-11-03 14:42:14 -07:00
committed by GitHub
parent dcc9cf3dd2
commit 219cad1783
6 changed files with 1 additions and 50 deletions

View File

@ -30,15 +30,6 @@ main() {
chmod +x ./lib/coder-cloud-agent
set -e
fi
if ! [ -f ./lib/linkup ]; then
echo "Downloading Link agent..."
set +e
curl -fsSL "https://storage.googleapis.com/coder-link-releases/latest/linkup-$OS-$ARCH" -o ./lib/linkup
chmod +x ./lib/linkup
set -e
fi
}
main "$@"

View File

@ -61,7 +61,6 @@ EOF
rsync node_modules/ "$RELEASE_PATH/node_modules"
mkdir -p "$RELEASE_PATH/lib"
rsync ./lib/coder-cloud-agent "$RELEASE_PATH/lib"
rsync ./lib/linkup "$RELEASE_PATH/lib"
fi
}

View File

@ -66,12 +66,6 @@ main() {
echo "Failed to download cloud agent; --link will not work"
fi
if curl -fsSL "https://storage.googleapis.com/coder-link-releases/latest/linkup-$OS-$ARCH" -o ./lib/linkup; then
chmod +x ./lib/linkup
else
echo "Failed to download Link agent; the Link extension will not work"
fi
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/docs/npm.md"