From 1f7cdc448b74f0765835d7a4c8bf8b04f0ae0657 Mon Sep 17 00:00:00 2001 From: Cal <42492716+ly3027929699@users.noreply.github.com> Date: Thu, 12 Oct 2023 17:51:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B7=BB=E5=8A=A0=E5=8C=85?= =?UTF-8?q?=E6=BA=90=E7=9A=84bat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 添加包源.bat | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 添加包源.bat 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