🙌 OpenHands: AI-Driven Development
Install chromium only once (#2100)
மனோஜ்குமார் பழனிச்சாமிf3f5768b4fc3
diff --git a/Makefile b/Makefileindex 9cf2bc1f26..8faf2019aa 100644--- a/Makefile+++ b/Makefile@@ -142,7 +142,14 @@ install-python-dependencies:poetry run pip install playwright; \poetry run playwright install chromium; \else \- poetry run playwright install --with-deps chromium; \+ if [ ! -f cache/playwright_chromium_is_installed.txt ]; then \+ echo "Running playwright install --with-deps chromium..."; \+ poetry run playwright install --with-deps chromium; \+ mkdir -p cache; \+ touch cache/playwright_chromium_is_installed.txt; \+ else \+ echo "Setup already done. Skipping playwright installation."; \+ fi \fi@echo "$(GREEN)Python dependencies installed successfully.$(RESET)"