mirror of
https://github.com/HuangYuChuh/ComfyUI_Skills_OpenClaw.git
synced 2026-07-30 03:23:40 +00:00
20 lines
463 B
Bash
Executable File
20 lines
463 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
cd "$ROOT_DIR"
|
|
|
|
# Reset auto-generated frontend files to avoid merge conflicts
|
|
git checkout -- ui/static/ 2>/dev/null || true
|
|
|
|
git pull
|
|
|
|
# Install / update Python dependencies
|
|
if [[ -f ".venv/bin/pip" ]]; then
|
|
.venv/bin/pip install -q -r requirements.txt
|
|
elif command -v pip3 &>/dev/null; then
|
|
pip3 install -q -r requirements.txt
|
|
fi
|
|
|
|
echo "Updated successfully."
|