2021-01-18 01:03:35 +01:00
|
|
|
--- ./ci/build/npm-postinstall.sh
|
|
|
|
+++ ./ci/build/npm-postinstall.sh
|
2022-11-16 12:25:43 +01:00
|
|
|
@@ -102,14 +102,6 @@
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2022-01-10 01:36:05 +01:00
|
|
|
- mkdir -p ./lib
|
|
|
|
-
|
2022-11-16 12:25:43 +01:00
|
|
|
- if curl -fsSL "https://github.com/coder/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
|
|
|
|
-
|
2022-11-16 12:25:43 +01:00
|
|
|
if ! vscode_install; then
|
2021-01-18 01:03:35 +01:00
|
|
|
echo "You may not have the required dependencies to build the native modules."
|
2022-11-16 12:25:43 +01:00
|
|
|
echo "Please see https://github.com/coder/code-server/blob/main/docs/npm.md"
|