9 lines
393 B
Bash
Executable File
9 lines
393 B
Bash
Executable File
#!/bin/bash
|
|
CDP_PORT=18800
|
|
CHROME_PATH="/opt/google/chrome/chrome"
|
|
mkdir -p /tmp/openclaw-chrome
|
|
fuser -k /tcp 2>/dev/null || true
|
|
--remote-debugging-port= --remote-debugging-address=127.0.0.1 --user-data-dir=/tmp/openclaw-chrome --no-first-run --noerrdialogs --disable-gpu --no-sandbox --disable-dev-shm-usage --headless=new > /dev/null 2>&1 &
|
|
sleep 3
|
|
echo "✅ Chrome 启动完成 (CDP: )"
|