Stride-Edtior/update.bat

18 lines
320 B
Batchfile
Raw Normal View History

2023-10-12 17:40:53 +08:00
@echo on
set fileName=config.ini
if not exist %fileName% (
echo file : %fileName% not exist
goto end
)
rem 读取文件,每次读取一行,默认以空格分隔,默认取第一列
for /f %%i in ('type %fileName%') do (
set first=%%i
break
)
.\nuget.exe init .\packages %first%
echo "finish"
:end
pause