add update_dependency script
This commit is contained in:
28
update_dependency.bat
Normal file
28
update_dependency.bat
Normal file
@@ -0,0 +1,28 @@
|
||||
@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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user