fix: browser wrapper permanent pour SingletonLock après redémarrage
- chrome-wrapper.sh : nettoie les lock files avant de lancer Chrome - openclaw.json : executablePath pointe vers le wrapper - start-chrome-cdp.sh : script de secours manuel - oc-up.sh : mis à jour (plus de démarrage manuel Chrome nécessaire) - MEMORY.md : documentation du fix
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
# Wrapper Chrome pour OpenClaw — nettoie les lock files résiduels avant le démarrage
|
||||
# Pointé par browser.executablePath dans openclaw.json
|
||||
|
||||
REAL_CHROME="/home/node/.cache/ms-playwright/chromium-1208/chrome-linux64/chrome"
|
||||
PROFILE_DIR="/home/node/.openclaw/browser/openclaw/user-data"
|
||||
|
||||
# Supprimer les lock files issus d'un redémarrage du conteneur
|
||||
rm -f "$PROFILE_DIR/SingletonLock" \
|
||||
"$PROFILE_DIR/SingletonCookie" \
|
||||
"$PROFILE_DIR/SingletonSocket" 2>/dev/null
|
||||
|
||||
exec "$REAL_CHROME" "$@"
|
||||
Reference in New Issue
Block a user