29 lines
565 B
Batchfile
29 lines
565 B
Batchfile
@echo off
|
|
chcp 65001 >nul
|
|
echo ========================================
|
|
echo DevourClient Dependency Path Update Script
|
|
echo ========================================
|
|
echo.
|
|
|
|
REM Check if PowerShell is available
|
|
powershell -Command "exit 0" >nul 2>&1
|
|
if errorlevel 1 (
|
|
echo Error: PowerShell not found, cannot run script
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
REM Run PowerShell script
|
|
powershell -ExecutionPolicy Bypass -File "%~dp0update_dependency.ps1"
|
|
|
|
if errorlevel 1 (
|
|
echo.
|
|
echo Script execution failed!
|
|
pause
|
|
exit /b 1
|
|
) else (
|
|
echo.
|
|
pause
|
|
)
|
|
|