增加添加包源的bat

master
Cal 2023-10-12 17:51:39 +08:00
parent 8305857102
commit 1f7cdc448b
1 changed files with 17 additions and 0 deletions

17
添加包源.bat Normal file
View File

@ -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