18 lines
235 B
Batchfile
18 lines
235 B
Batchfile
|
@echo off
|
||
|
|
||
|
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
|
||
|
)
|
||
|
|
||
|
dotnet nuget add source %first%
|
||
|
echo "finish"
|
||
|
:end
|
||
|
pause
|