Revert "Add linkup command to improve link functionality" (#4439)
This reverts commit 2504f6fce4
.
This commit is contained in:
@ -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 "$@"
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user