cd /d %~dp0

copy /y profile\1.yaml working\using.yaml

bin\mihomo-windows-amd64 -f working\using.yaml -d working -t

pause

taskkill /im mihomo-windows-amd64.exe /f

del /f /s /q working\using.yaml

@REM   -config string
@REM         specify base64-encoded configuration string
@REM   -d string
@REM         set configuration directory
@REM   -ext-ctl string
@REM         override external controller address
@REM   -ext-ctl-pipe string
@REM         override external controller pipe address
@REM   -ext-ctl-unix string
@REM         override external controller unix address
@REM   -ext-ui string
@REM         override external ui directory
@REM   -f string
@REM         specify configuration file
@REM   -m    set geodata mode
@REM   -secret string
@REM         override secret for RESTful API
@REM   -t    test configuration and exit