Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Add workspace post install

Dillon DuPont989f294b1950
diff --git a/.devcontainer/post-install.sh b/.devcontainer/post-install.sh
index 5292a2593a..1738e635f6 100644
--- a/.devcontainer/post-install.sh
+++ b/.devcontainer/post-install.sh
@@ -8,14 +8,21 @@ echo "PYTHON_BIN=python" > /workspaces/cua/.env.local
# Run /scripts/build.sh
./scripts/build.sh
-# check for dependencies
-if ! command -v xxd &> /dev/null; then
- echo "xxd command not found, install with"
- echo "sudo apt install xxd"
- exit 1
-fi
+# ---
+# Build is complete. Show user a clear message to open the workspace manually.
+# ---
-CODE_WS_FILE="$WORKSPACE/.vscode/py.code-workspace"
-export code="$(ls /vscode/vscode-server/bin/*/*/bin/remote-cli/code 2>/dev/null | head -n 1)"
+cat << 'EOM'
-"$code" $CODE_WS_FILE &
+============================================
+ πŸš€ Build complete!
+
+ πŸ‘‰ Next steps:
+
+ 1. Open '.vscode/py.code-workspace'
+ 2. Press 'Open Workspace'
+
+ Happy coding!
+============================================
+
+EOM