2021-01-18 01:03:35 +01:00
|
|
|
--- ./ci/build/npm-postinstall.sh
|
|
|
|
+++ ./ci/build/npm-postinstall.sh
|
2021-10-31 00:19:46 +02:00
|
|
|
@@ -56,13 +56,6 @@
|
2021-01-18 01:03:35 +01:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
- OS="$(uname | tr '[:upper:]' '[:lower:]')"
|
2021-10-31 00:19:46 +02:00
|
|
|
- if curl -fsSL "https://github.com/cdr/cloud-agent/releases/latest/download/cloud-agent-$OS-$ARCH" -o ./lib/coder-cloud-agent; then
|
2021-01-18 01:03:35 +01:00
|
|
|
- chmod +x ./lib/coder-cloud-agent
|
|
|
|
- else
|
|
|
|
- echo "Failed to download cloud agent; --link will not work"
|
|
|
|
- fi
|
|
|
|
-
|
|
|
|
if ! vscode_yarn; then
|
|
|
|
echo "You may not have the required dependencies to build the native modules."
|
2021-10-31 00:19:46 +02:00
|
|
|
echo "Please see https://github.com/cdr/code-server/blob/master/docs/npm.md"
|