Stride-Edtior/update.bat

20 lines
273 B
Batchfile
Raw Permalink Normal View History

2023-10-12 17:45:46 +08:00
@echo off
git pull
2023-10-12 17:40:53 +08:00
set fileName=config.ini
if not exist %fileName% (
echo file : %fileName% not exist
goto end
)
for /f %%i in ('type %fileName%') do (
set first=%%i
break
)
2023-10-13 17:03:05 +08:00
rd /s /Q %first%
.\nuget.exe init .\packages %first% -Expand
2023-10-12 17:40:53 +08:00
echo "finish"
:end
pause