Merge pull request #12 from duiniuluantanqin/main

Update build script to use consistent config file path
This commit is contained in:
Haibo Chen
2025-02-26 15:32:44 +08:00
committed by GitHub

View File

@ -22,9 +22,9 @@ go build -o %BINARY_NAME% %MAIN_PATH%
echo Copying config file...
if exist "%CONFIG_FILE%" (
mkdir "objs\%~dp0%CONFIG_FILE%" 2>nul
xcopy /s /i /y "%CONFIG_FILE%" "objs\%~dp0%CONFIG_FILE%\"
echo Config file copied to objs\%~dp0%CONFIG_FILE%
if not exist "objs\conf" mkdir "objs\conf"
xcopy /s /i /y "%CONFIG_FILE%" "objs\conf\"
echo Config file copied to objs\conf
) else (
echo Warning: %CONFIG_FILE% not found
)