diff --git a/launch.sh b/launch.sh index df4361c..f8e3a32 100755 --- a/launch.sh +++ b/launch.sh @@ -28,8 +28,6 @@ elif [ "$1" == "html5" ]; then python3 etc/report_generator5.py elif [[ "$1" == add* ]]; then python3 script/addFav.py -elif [ "$1" == update* ]; then - ./update.sh else echo "Please provide a bot to launch (pong/mesh) or a report to generate (html/html5) or addFav" exit 1 diff --git a/update.sh b/update.sh index 405f316..c316d66 100644 --- a/update.sh +++ b/update.sh @@ -42,7 +42,7 @@ echo "Installing or updating dependencies..." if pip install -r requirements.txt --upgrade 2>&1 | grep -q "externally-managed-environment"; then # if venv is found ask to run with launch.sh if [ -d "venv" ]; then - echo "A virtual environment (venv) was found. Use launch.sh to update dependencies in the venv." + echo "A virtual environment (venv) was found. run from inside venv" else read -p "Warning: You are in an externally managed environment. Do you want to continue with --break-system-packages? (y/n): " choice if [[ "$choice" == "y" || "$choice" == "Y" ]]; then