From 8305857102f266cb0d3ce824274362281e7acff2 Mon Sep 17 00:00:00 2001 From: Cal <42492716+ly3027929699@users.noreply.github.com> Date: Thu, 12 Oct 2023 17:45:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=BD=E4=BB=A4=E8=A1=8C=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=20git=20pull?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/update.bat b/update.bat index 0273302..58edfb5 100644 --- a/update.bat +++ b/update.bat @@ -1,11 +1,13 @@ -@echo on +@echo off + +git pull + 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