diff --git a/添加包源.bat b/添加包源.bat new file mode 100644 index 0000000..58bd570 --- /dev/null +++ b/添加包源.bat @@ -0,0 +1,17 @@ +@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