fix: 修复批处理文件中的缩进和错误处理逻辑
修正 copy_libcore.bat 中的缩进问题,并添加未找到 libcore.dll 时的错误提示
This commit is contained in:
parent
29c6e40940
commit
8937024241
@ -23,6 +23,9 @@ for /r %%f in (libcore.dll) do (
|
||||
echo ✅ 找到 libcore.dll: %%f
|
||||
copy "%%f" libcore\bin\libcore.dll
|
||||
goto :verify
|
||||
)
|
||||
)
|
||||
echo ⚠️ 未找到 libcore.dll
|
||||
:verify
|
||||
|
||||
echo.
|
||||
@ -34,11 +37,11 @@ if exist libcore\bin (
|
||||
echo ✅ 验证成功:所有文件已正确复制
|
||||
exit /b 0
|
||||
) else (
|
||||
echo ❌ 验证失败:libcore.dll 不存在
|
||||
echo ❌ 验证失败:libcore.dll 不存在
|
||||
exit /b 1
|
||||
)
|
||||
) else (
|
||||
echo ❌ 验证失败:BearVPNCli.exe 不存在
|
||||
echo ❌ 验证失败:BearVPNCli.exe 不存在
|
||||
exit /b 1
|
||||
)
|
||||
) else (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user