merge: resolve conflict in Windows-Start.bat, add Linux scripts and maintain lib
This commit is contained in:
@@ -142,7 +142,8 @@ cd "$CORE_DIR"
|
||||
TOKEN=$(python3 -c "import json,os; p='$STATE_DIR/openclaw.json' if os.path.exists('$STATE_DIR/openclaw.json') else '$DATA_DIR/config.json'; d=json.load(open(p)); print(d.get('gateway',{}).get('auth',{}).get('token','uclaw'))" 2>/dev/null || echo "uclaw")
|
||||
|
||||
OPENCLAW_MJS="$CORE_DIR/node_modules/openclaw/openclaw.mjs"
|
||||
"$NODE_BIN" "$OPENCLAW_MJS" gateway run --allow-unconfigured --force --port $PORT &
|
||||
GW_LOG="$DATA_DIR/logs/gateway.log"
|
||||
"$NODE_BIN" "$OPENCLAW_MJS" gateway run --allow-unconfigured --force --port $PORT 2>&1 | tee -a "$GW_LOG" &
|
||||
GW_PID=$!
|
||||
|
||||
# ---- 10. Wait & open browser ----
|
||||
|
||||
Reference in New Issue
Block a user