fix(copy_libcore.bat): 增强文件验证逻辑并添加错误处理
Some checks failed
Build Windows / ACT Windows Checkout Verification (push) Successful in 7h0m13s
Build Windows / 编译 libcore (Windows) (20.15.1) (push) Successful in 19m32s
Build Windows / build (push) Failing after 7h0m22s

添加对 BearVPNCli.exe 和 libcore.dll 的检查,并在验证失败时返回错误码
This commit is contained in:
shanshanzhong 2025-11-07 01:17:23 -08:00
parent 8b055d9ee1
commit 41e6ed433a

View File

@ -30,4 +30,21 @@ echo ⚠️ 未找到 libcore.dll
echo.
echo 📄 验证文件:
if exist libcore\bin dir libcore\bin else echo ⚠️ libcore\bin 目录不存在
if exist libcore\bin (
dir libcore\bin
if exist libcore\bin\BearVPNCli.exe (
if exist libcore\bin\libcore.dll (
echo ✅ 验证成功:所有文件已正确复制
exit /b 0
) else (
echo ❌ 验证失败libcore.dll 不存在
exit /b 1
)
) else (
echo ❌ 验证失败BearVPNCli.exe 不存在
exit /b 1
)
) else (
echo ⚠️ libcore\bin 目录不存在
exit /b 1
)