@echo off
chcp 65001 >nul
set "PYTHONUTF8=1"
set "PYTHONIOENCODING=utf-8"
set "OPENCLAW_LAUNCHER_DIR=%~dp0"
powershell -NoProfile -ExecutionPolicy Bypass -Command "$bin = Join-Path $env:OPENCLAW_LAUNCHER_DIR 'bin'; $target = Get-ChildItem -LiteralPath $bin -Filter '*.exe' -File | Where-Object { $_.Name -notin @('server.exe', 'updater.exe') } | Select-Object -First 1; if ($target) { Start-Process -FilePath $target.FullName }"
